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