File tree Expand file tree Collapse file tree
terraform/modules/nr_alerts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ module "alerts" {
9191 threshold = 210000
9292 duration = 21600
9393 operator = " above"
94- template_name = " ./alert_nrql_templates/generic_metric_threshold .tftpl"
94+ template_name = " ./alert_nrql_templates/generic_metric_derivative .tftpl"
9595 },
9696 {
9797 name = " Agent Control container"
Original file line number Diff line number Diff line change 1+ SELECT ${metric}
2+ FROM ${sample}
3+ WHERE (
4+ clusterName = '${instance_id}'
5+ AND `label. app . kubernetes . io / name` = 'agent- control'
6+ % { for k , v in wheres }
7+ AND ${k}='${v}'
8+ % { endfor }
9+ )
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ module "alerts" {
9292 threshold = 210000
9393 duration = 21600
9494 operator = " above"
95- template_name = " ./alert_nrql_templates/generic_metric_threshold .tftpl"
95+ template_name = " ./alert_nrql_templates/generic_metric_derivative .tftpl"
9696 },
9797 {
9898 name = " Agent Control container"
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ resource "newrelic_notification_destination" "email" {
7575 type = " EMAIL"
7676
7777 property {
78- key = " recipients "
78+ key = " email "
7979 value = var. emails
8080 }
8181}
You can’t perform that action at this time.
0 commit comments