mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-08 19:46:35 +00:00
logicaldisk: fix base counter values (#1747)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user