Skip to content

Commit f57ebfe

Browse files
committed
Change scrape_duration_seconds to histogram
1 parent 1db60e2 commit f57ebfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const (
3333
)
3434

3535
var (
36-
scrapeDurations = prometheus.NewSummaryVec(
37-
prometheus.SummaryOpts{
36+
scrapeDurations = prometheus.NewHistogramVec(
37+
prometheus.HistogramOpts{
3838
Namespace: collector.Namespace,
3939
Subsystem: "exporter",
4040
Name: "scrape_duration_seconds",

0 commit comments

Comments
 (0)