Infra: Move probes under ansible instead of terraform
[csit.git] / terraform-ci-infra / 1n_nmd / alertmanager / conf / nomad / alertmanager.hcl
index 4560cf0..fafe623 100644 (file)
@@ -162,7 +162,7 @@ job "${job_name}" {
         data            = <<EOH
 global:
   # The API URL to use for Slack notifications.
-  slack_api_url: '${slack_api_url}'
+  slack_api_url: 'https://hooks.slack.com/services/${slack_api_key}'
 
 # The directory from which notification templates are read.
 templates:
@@ -196,7 +196,7 @@ route:
   # alerts as-is. This is unlikely to be what you want, unless you have
   # a very low alert volume or your upstream notification system performs
   # its own grouping. Example: group_by: [...]
-  group_by: ['alertname', 'cluster', 'service']
+  group_by: ['alertname']
 
   # When a new group of alerts is created by an incoming alert, wait at
   # least 'group_wait' to send the initial notification.