mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-10 03:01:51 +00:00
Add confirmed_flush_lsn to pg_stat_replication
This commit is contained in:
parent
1fa394d488
commit
1bf7f2435f
@ -239,6 +239,7 @@ var metricMaps = map[string]map[string]ColumnMapping{
|
||||
"restart_lsn": {DISCARD, "The address (LSN) of oldest WAL which still might be required by the consumer of this slot and thus won't be automatically removed during checkpoints", nil, nil},
|
||||
"pg_current_xlog_location": {DISCARD, "pg_current_xlog_location", nil, nil},
|
||||
"pg_xlog_location_diff": {GAUGE, "Lag in bytes between master and slave", nil, semver.MustParseRange(">=9.2.0")},
|
||||
"confirmed_flush_lsn": {DISCARD, "LSN position a consumer of a slot has confirmed flushing the data received", nil, nil},
|
||||
},
|
||||
"pg_stat_activity": {
|
||||
"datname": {LABEL, "Name of this database", nil, nil},
|
||||
|
Loading…
Reference in New Issue
Block a user