I am trying to use following for Pagerduty description:
- name: 'pagerduty-notify-techops'
pagerduty_configs:
- service_key: xxxx
description: {{ range .Alerts }}Description: {{ .Annotations.description
}}{{ end }}
But ended up with an error:
level=error ts=2020-02-19T01:31:22.005Z caller=dispatch.go:266
component=dispatcher msg="Notify for alerts failed" num_alerts=4
err="cancelling notify retry for \"pagerduty\" due to unrecoverable error:
unexpected status code 400: Event object is invalid: Description is missing
or blank"
What am i doing wrong?
Thanks for the help!
--
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/b7849b17-9b12-41b6-8fdd-1dbbffbe6bef%40googlegroups.com.