We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fe5f57 commit 3302535Copy full SHA for 3302535
postgres_mixin/alerts/postgres.libsonnet
@@ -61,7 +61,7 @@
61
summary: 'PostgreSQL high number of slow queries.',
62
},
63
expr: |||
64
- avg by (%(agg)s) (
+ avg by (datname, %(agg)s) (
65
rate (
66
pg_stat_activity_max_tx_duration{%(dbNameFilter)s, %(postgresExporterSelector)s}[2m]
67
)
0 commit comments