mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-01 22:48:15 +00:00
typing
Signed-off-by: Zachary Caldarola <zmc2005@gmail.com>
This commit is contained in:
parent
1ec69c9168
commit
f3952f941b
@ -86,7 +86,7 @@ func (PGReplicationSlotCollector) Update(ctx context.Context, db *sql.DB, ch cha
|
||||
}
|
||||
ch <- prometheus.MustNewConstMetric(
|
||||
pgReplicationSlot["is_active"],
|
||||
prometheus.GaugeValue, int(flush_lsn), slot_name,
|
||||
prometheus.GaugeValue, float64(flush_lsn), slot_name,
|
||||
)
|
||||
}
|
||||
if err := rows.Err(); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user