We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88434b4 commit 913817aCopy full SHA for 913817a
collector/pg_long_running_transactions.go
@@ -54,7 +54,7 @@ var (
54
COUNT(*) as transactions,
55
MAX(EXTRACT(EPOCH FROM clock_timestamp())) AS oldest_timestamp_seconds
56
FROM pg_catalog.pg_stat_activity
57
- WHERE state is distinct from 'idle' AND (now() - xact_start) > '1 minutes'::interval AND query not like 'autovacuum:%'
+ WHERE state is distinct from 'idle' AND query not like 'autovacuum:%'
58
`
59
)
60
0 commit comments