aboutsummaryrefslogtreecommitdiff
path: root/collector/diskstats_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'collector/diskstats_darwin.go')
-rw-r--r--collector/diskstats_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/collector/diskstats_darwin.go b/collector/diskstats_darwin.go
index f94d984..a92de52 100644
--- a/collector/diskstats_darwin.go
+++ b/collector/diskstats_darwin.go
@@ -76,7 +76,7 @@ func NewDiskstatsCollector() (Collector, error) {
76 { 76 {
77 typedDesc: typedDesc{ 77 typedDesc: typedDesc{
78 desc: prometheus.NewDesc( 78 desc: prometheus.NewDesc(
79 prometheus.BuildFQName(namespace, diskSubsystem, "read_seconds_total"), 79 prometheus.BuildFQName(namespace, diskSubsystem, "read_time_seconds_total"),
80 "The total number of seconds spent by all reads.", 80 "The total number of seconds spent by all reads.",
81 diskLabelNames, 81 diskLabelNames,
82 nil, 82 nil,
@@ -118,7 +118,7 @@ func NewDiskstatsCollector() (Collector, error) {
118 { 118 {
119 typedDesc: typedDesc{ 119 typedDesc: typedDesc{
120 desc: prometheus.NewDesc( 120 desc: prometheus.NewDesc(
121 prometheus.BuildFQName(namespace, diskSubsystem, "write_seconds_total"), 121 prometheus.BuildFQName(namespace, diskSubsystem, "write_time_seconds_total"),
122 "This is the total number of seconds spent by all writes.", 122 "This is the total number of seconds spent by all writes.",
123 diskLabelNames, 123 diskLabelNames,
124 nil, 124 nil,