diff --git a/collector/devstat_freebsd.go b/collector/devstat_freebsd.go index 6528c08f..17554a73 100644 --- a/collector/devstat_freebsd.go +++ b/collector/devstat_freebsd.go @@ -217,11 +217,11 @@ func (c *devstatCollector) Update(ch chan<- prometheus.Metric) (err error) { c.bytes.With(prometheus.Labels{"device": device, "type": "read"}).Set(float64(stats.bytes.read)) c.bytes.With(prometheus.Labels{"device": device, "type": "write"}).Set(float64(stats.bytes.write)) c.bytes.With(prometheus.Labels{"device": device, "type": "free"}).Set(float64(stats.bytes.free)) - c.transfers.With(prometheus.Labels{"device": device, "type": "read"}).Set(float64(stats.transfers.other)) + c.transfers.With(prometheus.Labels{"device": device, "type": "other"}).Set(float64(stats.transfers.other)) c.transfers.With(prometheus.Labels{"device": device, "type": "read"}).Set(float64(stats.transfers.read)) c.transfers.With(prometheus.Labels{"device": device, "type": "write"}).Set(float64(stats.transfers.write)) c.transfers.With(prometheus.Labels{"device": device, "type": "free"}).Set(float64(stats.transfers.free)) - c.duration.With(prometheus.Labels{"device": device, "type": "read"}).Set(float64(stats.duration.other)) + c.duration.With(prometheus.Labels{"device": device, "type": "other"}).Set(float64(stats.duration.other)) c.duration.With(prometheus.Labels{"device": device, "type": "read"}).Set(float64(stats.duration.read)) c.duration.With(prometheus.Labels{"device": device, "type": "write"}).Set(float64(stats.duration.write)) c.duration.With(prometheus.Labels{"device": device, "type": "free"}).Set(float64(stats.duration.free))