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

@@ -559,7 +559,7 @@ func (c *Collector) collectDatabasesInstance(ch chan<- prometheus.Metric, sqlIns
ch <- prometheus.MustNewConstMetric(
c.databasesLogCacheLookups,
prometheus.GaugeValue,
data[databasesLogCacheHitRatioBase].FirstValue,
data[databasesLogCacheHitRatioBase].SecondValue,
sqlInstance, dbName,
)