Merge remote-tracking branch 'origin/master' into perflib-cpu

This commit is contained in:
Calle Pettersson
2019-08-03 15:06:30 +02:00
5 changed files with 173 additions and 4 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,
)
}