Merge pull request #351 from sqlkabouter/master

Changed conversion from microseconds to seconds to match the descript…
This commit is contained in:
Calle Pettersson 2019-06-17 19:16:00 +02:00 committed by GitHub
commit 56be7c63d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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( ch <- prometheus.MustNewConstMetric(
c.DBReplicaTransactionDelay, c.DBReplicaTransactionDelay,
prometheus.GaugeValue, prometheus.GaugeValue,
float64(v.TransactionDelay)*1000.0, float64(v.TransactionDelay)/1000.0,
sqlInstance, replicaName, sqlInstance, replicaName,
) )
} }