Changed conversion from microseconds to seconds to match the description of the metric

This commit is contained in:
Jody Treffers 2019-06-17 11:56:26 +02:00
parent 462a136673
commit 6ffe504f7e
1 changed files with 1 additions and 1 deletions

View File

@ -2575,7 +2575,7 @@ func (c *MSSQLCollector) collectDatabaseReplica(ch chan<- prometheus.Metric, sql
ch <- prometheus.MustNewConstMetric(
c.DBReplicaTransactionDelay,
prometheus.GaugeValue,
float64(v.TransactionDelay)*1000.0,
float64(v.TransactionDelay)/1000.0,
sqlInstance, replicaName,
)
}