Skip to content

Commit

Permalink
Merge pull request #2122 from sawsa307/Create-buckets-for-syncer-stal…
Browse files Browse the repository at this point in the history
…eness

Add buckets for syncer staleness metrics
  • Loading branch information
k8s-ci-robot authored May 18, 2023
2 parents bc34d38 + 1e4fc21 commit 14d6715
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/neg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ var (
Subsystem: negControllerSubsystem,
Name: syncerStalenessKey,
Help: "The duration of a syncer since it last syncs",
// custom buckets - [1s, 2s, 4s, 8s, 16s, 32s, 64s, 128s, 256s(~4min), 512s(~8min), 1024s(~17min), 2048 (~34min), 4096(~68min), 8192(~136min), +Inf]
Buckets: prometheus.ExponentialBuckets(1, 2, 14),
},
)

Expand Down

0 comments on commit 14d6715

Please sign in to comment.