Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
typing
Signed-off-by: Zachary Caldarola <[email protected]>
  • Loading branch information
sheldor14 committed Jan 28, 2023
commit f3952f941b833f8626330d64ea885f3086b1f3a1
2 changes: 1 addition & 1 deletion collector/replication_slots.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down