logicaldisk: fix base counter values (#1747)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2024-11-19 21:35:32 +01:00
committed by GitHub
parent c6ee794598
commit 2335fba18a
6 changed files with 6 additions and 6 deletions

View File

@@ -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,
)