mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-04 17:46:36 +00:00
logicaldisk: fix base counter values (#1747)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -404,7 +404,7 @@ func (c *Collector) Collect(ch chan<- prometheus.Metric) error {
|
||||
ch <- prometheus.MustNewConstMetric(
|
||||
c.totalSpace,
|
||||
prometheus.GaugeValue,
|
||||
volume[percentFreeSpace].FirstValue*1024*1024,
|
||||
volume[percentFreeSpace].SecondValue*1024*1024,
|
||||
name,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user