Merge branch 'MON-574-fix-k8s-pod-phase-status' into 'master'
MON-574 - fix pod phase status Closes MON-574 See merge request claranet/pt-monitoring/projects/datadog/terraform/monitors!172
This commit is contained in:
commit
3611ecdad2
@ -6,7 +6,7 @@ resource "datadog_monitor" "pod_phase_status" {
|
|||||||
|
|
||||||
query = <<EOQ
|
query = <<EOQ
|
||||||
${var.pod_phase_status_time_aggregator}(${var.pod_phase_status_timeframe}):
|
${var.pod_phase_status_time_aggregator}(${var.pod_phase_status_timeframe}):
|
||||||
sum:kubernetes_state.pod.status_phase${module.filter-tags-phase.query_alert} by {namespace} > 0
|
default(sum:kubernetes_state.pod.status_phase${module.filter-tags-phase.query_alert} by {namespace}, 0) > 0
|
||||||
EOQ
|
EOQ
|
||||||
|
|
||||||
thresholds = {
|
thresholds = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user