There was an error while loading. Please reload this page.
1 parent 1ec69c9 commit f3952f9Copy full SHA for f3952f9
collector/replication_slots.go
@@ -86,7 +86,7 @@ func (PGReplicationSlotCollector) Update(ctx context.Context, db *sql.DB, ch cha
86
}
87
ch <- prometheus.MustNewConstMetric(
88
pgReplicationSlot["is_active"],
89
-prometheus.GaugeValue, int(flush_lsn), slot_name,
+prometheus.GaugeValue, float64(flush_lsn), slot_name,
90
)
91
92
if err := rows.Err(); err != nil {
0 commit comments