You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: postgres_exporter.go
+12-1
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,16 @@ var metricMaps = map[string]map[string]ColumnMapping{
168
168
"replay_location": {DISCARD, "Last transaction log position replayed into the database on this standby server", nil},
169
169
"sync_priority": {DISCARD, "Priority of this standby server for being chosen as the synchronous standby", nil},
170
170
"sync_state": {DISCARD, "Synchronous state of this standby server", nil},
171
+
"slot_name": {LABEL, "A unique, cluster-wide identifier for the replication slot", nil},
172
+
"plugin": {DISCARD, "The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots", nil},
173
+
"slot_type": {DISCARD, "The slot type - physical or logical", nil},
174
+
"datoid": {DISCARD, "The OID of the database this slot is associated with, or null. Only logical slots have an associated database", nil},
175
+
"database": {DISCARD, "The name of the database this slot is associated with, or null. Only logical slots have an associated database", nil},
176
+
"active": {DISCARD, "True if this slot is currently actively being used", nil},
177
+
"active_pid": {DISCARD, "Process ID of a WAL sender process", nil},
178
+
"xmin": {DISCARD, "The oldest transaction that this slot needs the database to retain. VACUUM cannot remove tuples deleted by any later transaction", nil},
179
+
"catalog_xmin": {DISCARD, "The oldest transaction affecting the system catalogs that this slot needs the database to retain. VACUUM cannot remove catalog tuples deleted by any later transaction", nil},
180
+
"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},
0 commit comments