Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124252
D4635.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D4635.diff
View Options
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 not like 'pg_temp%'
- 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 not like 'pg_temp%'
- 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 not like 'pg_temp%'
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 not like 'pg_temp%'
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 2:38 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224963
Attached To
D4635: exclude temporary schemas from the statistics
Event Timeline
Log In to Comment