Skip to content

Commit 92f9d90

Browse files
authored
Fix #1185 bug (#1197)
This semicolon breaks the query Signed-off-by: Joe Adams <github@joeadams.io>
1 parent 105c422 commit 92f9d90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_process_idle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (PGProcessIdleCollector) Update(ctx context.Context, instance *instance, ch
5656
COUNT(*) AS process_idle_seconds_count
5757
FROM pg_stat_activity
5858
WHERE state ~ '^idle'
59-
AND pid <> pg_backend_pid();
59+
AND pid <> pg_backend_pid()
6060
GROUP BY state, application_name
6161
),
6262
buckets AS (

0 commit comments

Comments
 (0)