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

@@ -752,7 +752,7 @@ func (c *Collector) collectAccessMethodsInstance(ch chan<- prometheus.Metric, sq
ch <- prometheus.MustNewConstMetric(
c.accessMethodsWorktablesFromCacheLookups,
prometheus.CounterValue,
data[accessMethodsWorktablesFromCacheRatioBase].FirstValue,
data[accessMethodsWorktablesFromCacheRatioBase].SecondValue,
sqlInstance,
)