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
Add collectors for new pg_statviz tables:
- pgstatviz.repl: replication statistics (standby lag, slot stats)
- pgstatviz.slru: SLRU cache statistics
Also standardize all pg_statviz queries to use SELECT * for
consistency and to automatically capture new columns.
Update copyright year to 2026.
Copy file name to clipboardExpand all lines: LICENCE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
The PostgreSQL License
2
2
3
-
Portions copyright (c) 2025, pgEdge, Inc.
3
+
Portions copyright (c) 2026, pgEdge, Inc.
4
4
5
5
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
Copy file name to clipboardExpand all lines: docs/LICENCE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
The PostgreSQL License
2
2
3
-
Portions copyright (c) 2025, pgEdge, Inc.
3
+
Portions copyright (c) 2026, pgEdge, Inc.
4
4
5
5
Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
@@ -331,12 +331,12 @@ var pgStatvizQueryTasks = []SimpleQueryTask{
331
331
{
332
332
Name: "pg_statviz_conf",
333
333
ArchivePath: "pg_statviz/%s/conf.tsv",
334
-
Query: "SELECT snapshot_tstamp, conf::text FROM pgstatviz.conf ORDER BY snapshot_tstamp",
334
+
Query: "SELECT * FROM pgstatviz.conf ORDER BY snapshot_tstamp",
335
335
},
336
336
{
337
337
Name: "pg_statviz_conn",
338
338
ArchivePath: "pg_statviz/%s/conn.tsv",
339
-
Query: "SELECT snapshot_tstamp, conn_total, conn_active, conn_idle, conn_idle_trans, conn_idle_trans_abort, conn_fastpath, conn_users::text FROM pgstatviz.conn ORDER BY snapshot_tstamp",
339
+
Query: "SELECT * FROM pgstatviz.conn ORDER BY snapshot_tstamp",
340
340
},
341
341
{
342
342
Name: "pg_statviz_db",
@@ -346,22 +346,32 @@ var pgStatvizQueryTasks = []SimpleQueryTask{
346
346
{
347
347
Name: "pg_statviz_io",
348
348
ArchivePath: "pg_statviz/%s/io.tsv",
349
-
Query: "SELECT snapshot_tstamp, io_stats::text, stats_reset FROM pgstatviz.io ORDER BY snapshot_tstamp",
349
+
Query: "SELECT * FROM pgstatviz.io ORDER BY snapshot_tstamp",
350
350
},
351
351
{
352
352
Name: "pg_statviz_lock",
353
353
ArchivePath: "pg_statviz/%s/lock.tsv",
354
-
Query: "SELECT snapshot_tstamp, locks_total, locks::text FROM pgstatviz.lock ORDER BY snapshot_tstamp",
354
+
Query: "SELECT * FROM pgstatviz.lock ORDER BY snapshot_tstamp",
355
+
},
356
+
{
357
+
Name: "pg_statviz_repl",
358
+
ArchivePath: "pg_statviz/%s/repl.tsv",
359
+
Query: "SELECT * FROM pgstatviz.repl ORDER BY snapshot_tstamp",
360
+
},
361
+
{
362
+
Name: "pg_statviz_slru",
363
+
ArchivePath: "pg_statviz/%s/slru.tsv",
364
+
Query: "SELECT * FROM pgstatviz.slru ORDER BY snapshot_tstamp",
355
365
},
356
366
{
357
367
Name: "pg_statviz_snapshots",
358
368
ArchivePath: "pg_statviz/%s/snapshots.tsv",
359
-
Query: "SELECT snapshot_tstamp FROM pgstatviz.snapshots ORDER BY snapshot_tstamp",
369
+
Query: "SELECT * FROM pgstatviz.snapshots ORDER BY snapshot_tstamp",
360
370
},
361
371
{
362
372
Name: "pg_statviz_wait",
363
373
ArchivePath: "pg_statviz/%s/wait.tsv",
364
-
Query: "SELECT snapshot_tstamp, wait_events_total, wait_events::text FROM pgstatviz.wait ORDER by snapshot_tstamp",
374
+
Query: "SELECT * FROM pgstatviz.wait ORDER BY snapshot_tstamp",
0 commit comments