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

@@ -130,7 +130,7 @@ func (c *Collector) collectLocksInstance(ch chan<- prometheus.Metric, sqlInstanc
ch <- prometheus.MustNewConstMetric(
c.locksCount,
prometheus.GaugeValue,
data[locksAverageWaitTimeMSBase].FirstValue/1000.0,
data[locksAverageWaitTimeMSBase].SecondValue/1000.0,
sqlInstance, lockResourceName,
)