Skip to content

Commit

Permalink
update to use 30 mins instead of 60 mins
Browse files Browse the repository at this point in the history
Signed-off-by: Adinata Thayib <[email protected]>
  • Loading branch information
dieend committed Mar 20, 2023
1 parent a0c247c commit d19ab65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/metrics/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ func NewRecorder() *Recorder {
),
durationHistogram: prometheus.NewHistogramVec(
prometheus.HistogramOpts{
Name: "gotk_reconcile_duration_seconds",
Help: "The duration in seconds of a GitOps Toolkit resource reconciliation.",
Name: "gotk_reconcile_duration_seconds",
Help: "The duration in seconds of a GitOps Toolkit resource reconciliation.",
// Use a histogram with 10 count buckets between 1ms - 1hour
Buckets: prometheus.ExponentialBucketsRange(10e-3, 3600, 10),
Buckets: prometheus.ExponentialBucketsRange(10e-3, 1800, 10),
},
[]string{"kind", "name", "namespace"},
),
Expand Down

0 comments on commit d19ab65

Please sign in to comment.