Page MenuHomeSoftware Heritage

D4635.id16443.diff
No OneTemporary

D4635.id16443.diff

diff --git a/site-modules/profile/files/prometheus/sql/config/queries.yml b/site-modules/profile/files/prometheus/sql/config/queries.yml
--- a/site-modules/profile/files/prometheus/sql/config/queries.yml
+++ b/site-modules/profile/files/prometheus/sql/config/queries.yml
@@ -222,6 +222,7 @@
COALESCE(analyze_count, 0)::float AS analyze_count,
COALESCE(autoanalyze_count, 0)::float AS autoanalyze_count
FROM pg_stat_user_tables FULL JOIN (VALUES(0)) filler(i) ON TRUE
+ WHERE schemaname='public'
- name: "pg_statio_user_tables"
help: "IO statistics"
@@ -245,6 +246,7 @@
COALESCE(idx_blks_read::float, 0) AS idx_blks_read,
COALESCE(idx_blks_hit::float, 0) AS idx_blks_hit
FROM pg_statio_user_tables FULL JOIN (VALUES(0)) filler(i) ON TRUE
+ WHERE schemaname='public'
- name: "BufferAccess"
help: "buffer access statistics"
@@ -269,6 +271,7 @@
+ COALESCE(tidx_blks_hit, 0)
+ COALESCE(tidx_blks_read, 0)) * 8192::bigint as reads
FROM pg_statio_user_tables FULL JOIN (VALUES(0)) filler(i) ON TRUE
+ WHERE schemaname='public'
GROUP BY 1, 2, 3
- name: "Maintenancecounters"
@@ -289,3 +292,4 @@
COALESCE(SUM(analyze_count), 0) analyze_count,
COALESCE(SUM(autoanalyze_count), 0) autoanalyze_count
FROM pg_stat_user_tables
+ WHERE schemaname='public'

File Metadata

Mime Type
text/plain
Expires
Dec 21 2024, 8:38 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3232758

Event Timeline