I am trying to update Pagerduty alert title using templates in Alert
Manager. I have the following template config in alertmanager - but it
creates a new field in the `CUSTOM_DETAILS` section of pagerduty instead of
updating the title. Am I missing something here?
receivers: - name: 'pagerduty' pagerduty_configs: - service_key: '<key>'
send_resolved: true details: summary: '{{ template "pagerduty_description"
.}}' title: '{{ template "pagerduty_description" .}}' alert_name: '{{
.CommonLabels.alertname }}' cluster: '{{ .CommonLabels.clustername }}'
description: '{{ .CommonAnnotations.description }}' firing: '{{ template
"pagerduty_firing" .}}' templates: - '/etc/alertmanager/config/*.tmpl'
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/5d9bb762-f971-4fd4-bfa6-dfb402d9cf3an%40googlegroups.com.