Skip to content

Commit

Permalink
fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
Aohzan committed Dec 12, 2023
1 parent 00666d3 commit 48dbd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/pgbouncer/monitors-pgbouncer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ resource "datadog_monitor" "pgbouncer_pool_connection_limit" {

query = <<EOQ
${var.pgbouncer_pool_connection_limit_time_aggregator}(${var.pgbouncer_pool_connection_limit_timeframe}):
avg:pgbouncer.pools.cl_active${module.filter-tags.query_alert} by {host,db}
sum:pgbouncer.pools.cl_active${module.filter-tags.query_alert} by {host,db}
> ${var.pgbouncer_pool_connection_limit_threshold_critical}
EOQ

Expand Down

0 comments on commit 48dbd3b

Please sign in to comment.