Skip to content

Commit

Permalink
Using linear buckets for the RenderDurationLinSimple prometheus
Browse files Browse the repository at this point in the history
metric.
  • Loading branch information
gksinghjsr committed Sep 18, 2019
1 parent 5d957a9 commit 19bdab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/carbonapi/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ func newPrometheusMetrics(config cfg.API) PrometheusMetrics {
Name: "render_request_duration_seconds_lin_simple",
Help: "The duration of render requests (linear)",
Buckets: prometheus.LinearBuckets(
config.Zipper.Common.Monitoring.RenderDurationExp.Start,
config.Zipper.Common.Monitoring.RenderDurationExp.BucketSize,
config.Zipper.Common.Monitoring.RenderDurationExp.BucketsNum),
config.Zipper.Common.Monitoring.RenderDurationLinSimple.Start,
config.Zipper.Common.Monitoring.RenderDurationLinSimple.BucketSize,
config.Zipper.Common.Monitoring.RenderDurationLinSimple.BucketsNum),
},
),
RenderDurationExpSimple: prometheus.NewHistogram(
Expand Down

0 comments on commit 19bdab0

Please sign in to comment.