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
description: The external, user defined, name of a replication origin.
1377
1377
- remote_lsn:
1378
-
usage: LABEL
1378
+
usage: COUNTER
1379
1379
description: The origin node's LSN up to which data has been replicated.
1380
1380
- local_lsn:
1381
-
usage: LABEL
1381
+
usage: COUNTER
1382
1382
description: This node's LSN at which remote_lsn has been replicated.
1383
1383
# This node's LSN at which remote_lsn has been replicated. Used to flush commit records before persisting data to disk when using asynchronous commits.
1384
1384
@@ -1443,7 +1443,7 @@ pg_size:
1443
1443
pg_archiver:
1444
1444
name: pg_archiver
1445
1445
desc: PostgreSQL archiver process statistics
1446
-
query: SELECT archived_count AS finish_count, failed_count, extract(EPOCH FROM last_archived_time) AS last_finish_time, extract(EPOCH FROM last_failed_time) AS last_failed_time, extract(EPOCH FROM stats_reset) AS reset_time FROM pg_stat_archiver;
1446
+
query: SELECT archived_count AS finish_count, failed_count, extract(EPOCH FROM last_archived_time) AS finish_time, extract(EPOCH FROM last_failed_time) AS failed_time, extract(EPOCH FROM stats_reset) AS reset_time FROM pg_stat_archiver;
1447
1447
ttl: 60
1448
1448
min_version: 090400
1449
1449
tags:
@@ -1456,11 +1456,11 @@ pg_archiver:
1456
1456
- failed_count:
1457
1457
usage: COUNTER
1458
1458
description: Number of failed attempts for archiving WAL files
1459
-
- last_finish_time:
1460
-
usage: COUNTER
1459
+
- finish_time:
1460
+
usage: GAUGE
1461
1461
description: Time of the last successful archive operation
1462
-
- last_failed_time:
1463
-
usage: COUNTER
1462
+
- failed_time:
1463
+
usage: GAUGE
1464
1464
description: Time of the last failed archival operation
1465
1465
- reset_time:
1466
1466
usage: GAUGE
@@ -1811,7 +1811,7 @@ pg_recovery_prefetch:
1811
1811
usage: COUNTER
1812
1812
description: Number of blocks not prefetched because they didn't exist yet
1813
1813
- skip_fpw:
1814
-
usage: GAUGE
1814
+
usage: COUNTER
1815
1815
description: Number of blocks not prefetched because a full page image was included in the WAL
1816
1816
- skip_rep:
1817
1817
usage: COUNTER
@@ -1826,7 +1826,7 @@ pg_recovery_prefetch:
1826
1826
usage: GAUGE
1827
1827
description: How many prefetches have been initiated but are not yet known to have completed
1828
1828
- reset_time:
1829
-
usage: COUNTER
1829
+
usage: GAUGE
1830
1830
description: Time at which these recovery prefetch statistics were last reset
1831
1831
1832
1832
@@ -1867,7 +1867,7 @@ pg_slru_13:
1867
1867
usage: COUNTER
1868
1868
description: Number of truncates for this SLRU
1869
1869
- reset_time:
1870
-
usage: COUNTER
1870
+
usage: GAUGE
1871
1871
description: Time at which these statistics were last reset
1872
1872
1873
1873
@@ -1937,7 +1937,7 @@ pg_wal_14:
1937
1937
scale: 1e-3
1938
1938
description: Total amount of time spent syncing WAL files to disk via issue_xlog_fsync request, in seconds
1939
1939
- reset_time:
1940
-
usage: COUNTER
1940
+
usage: GAUGE
1941
1941
description: When statistics were last reset
1942
1942
1943
1943
@@ -2021,7 +2021,7 @@ pg_backend:
2021
2021
pg_xact:
2022
2022
name: pg_xact
2023
2023
desc: PostgreSQL transaction identifier metrics
2024
-
query: WITH snap(v) AS (SELECT txid_current_snapshot()), xset(v) AS (SELECT txid_snapshot_xip(v) FROM snap), xnum(v) AS (SELECT count(*) from xset), xmin(v) AS (SELECT txid_snapshot_xmin(v) FROM snap), xmax(v) AS (SELECT txid_snapshot_xmin(v) FROM snap) SELECT xmin.v AS xmin, xmax.v AS xmax, xnum.v AS xnum FROM xmin, xmax, xnum;
2024
+
query: WITH snap(v) AS (SELECT txid_current_snapshot()), xset(v) AS (SELECT txid_snapshot_xip(v) FROM snap), xnum(v) AS (SELECT count(*) from xset), xmin(v) AS (SELECT txid_snapshot_xmin(v) FROM snap), xmax(v) AS (SELECT txid_snapshot_xmax(v) FROM snap) SELECT xmin.v AS xmin, xmax.v AS xmax, xnum.v AS xnum FROM xmin, xmax, xnum;
2025
2025
2026
2026
ttl: 10
2027
2027
min_version: 090400
@@ -2513,7 +2513,7 @@ pg_db_14:
2513
2513
usage: COUNTER
2514
2514
description: Number of database sessions to this database that were terminated by operator intervention
2515
2515
- reset_time:
2516
-
usage: COUNTER
2516
+
usage: GAUGE
2517
2517
description: Time at which database statistics were last reset
2518
2518
2519
2519
@@ -2633,7 +2633,7 @@ pg_db_12_13:
2633
2633
description: Time spent writing data file blocks by backends in this database, in seconds
2634
2634
# Time spent writing data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
2635
2635
- reset_time:
2636
-
usage: COUNTER
2636
+
usage: GAUGE
2637
2637
description: Time at which database statistics were last reset
2638
2638
2639
2639
@@ -2744,7 +2744,7 @@ pg_db_10_11:
2744
2744
description: Time spent writing data file blocks by backends in this database, in seconds
2745
2745
# Time spent writing data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
2746
2746
- reset_time:
2747
-
usage: COUNTER
2747
+
usage: GAUGE
2748
2748
description: Time at which database statistics were last reset
0 commit comments