Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(crons): new merge/aggregate status functions without MonitorBucketEnvMapping #82566

Merged
merged 3 commits into from
Dec 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
better example
  • Loading branch information
ameliahsu committed Dec 26, 2024
commit 1bb5eb84623e92dbbd603f87fb4df957a2fa7483
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export function getAggregateStatusFromMultipleBuckets(
}

/**
* Given multiple stats buckets [{ok: 1, ...}, {ok: 0, ...}]
* returns the aggregate status across all buckets
* Given multiple stats buckets [{..., error: 1, unknown: 0}, {..., error: 0, unknown: 4}]
* returns the aggregate status across all buckets (unknown)
*/
export function getAggregateStatusFromMultipleStatsBuckets(statsArr: StatsBucket[]) {
return statsArr
Expand Down
Loading