From 32d4e4914a8bfb82f220f5801f4eaf6e35f58410 Mon Sep 17 00:00:00 2001 From: Arseny Sher Date: Thu, 16 Nov 2023 23:56:04 +0100 Subject: [PATCH] Add wait events without query to metric. --- vm-image-spec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm-image-spec.yaml b/vm-image-spec.yaml index 74ff1a4843..8fa607d9c1 100644 --- a/vm-image-spec.yaml +++ b/vm-image-spec.yaml @@ -49,7 +49,7 @@ files: - filename: postgres_exporter_queries.yml content: | pg_wait_sampling: - query: "select pid, event_type, event, w.queryid as queryid, query, count from pg_wait_sampling_profile w join pg_stat_statements s on w.queryid = s.queryid;" + query: "select pid, event_type, event, w.queryid as queryid, query, count from pg_wait_sampling_profile w left join pg_stat_statements s on w.queryid = s.queryid;" cache_seconds: 30 metrics: - pid: