From 84dc362b05aeffecf2e8bc4541840e0744963060 Mon Sep 17 00:00:00 2001 From: Steve Kotsopoulos Date: Wed, 2 May 2018 05:32:55 -0400 Subject: [PATCH] Align Darwin disk stat names with Linux (#930) Signed-off-by: Steve Kotsopoulos --- collector/diskstats_darwin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collector/diskstats_darwin.go b/collector/diskstats_darwin.go index f94d9842..a92de521 100644 --- a/collector/diskstats_darwin.go +++ b/collector/diskstats_darwin.go @@ -76,7 +76,7 @@ func NewDiskstatsCollector() (Collector, error) { { typedDesc: typedDesc{ desc: prometheus.NewDesc( - prometheus.BuildFQName(namespace, diskSubsystem, "read_seconds_total"), + prometheus.BuildFQName(namespace, diskSubsystem, "read_time_seconds_total"), "The total number of seconds spent by all reads.", diskLabelNames, nil, @@ -118,7 +118,7 @@ func NewDiskstatsCollector() (Collector, error) { { typedDesc: typedDesc{ desc: prometheus.NewDesc( - prometheus.BuildFQName(namespace, diskSubsystem, "write_seconds_total"), + prometheus.BuildFQName(namespace, diskSubsystem, "write_time_seconds_total"), "This is the total number of seconds spent by all writes.", diskLabelNames, nil,