Hi folks, I have a very similar config to this one: https://groups.google.com/g/prometheus-users/c/qhqfTkZOiWc/m/TWM_Mw7YBgAJ but I'm using Events API V2 (by using service_key as opposed to routing_key and using Events API v2 in PagerDuty).
I'm trying to get links displayed in PagerDuty without great success. Am I doing something wrong? I checked the source code, but nothing is striking me as wrong: https://github.com/prometheus/alertmanager/blob/master/notify/pagerduty/pagerduty.go#L75 *alertmanager.yml* receivers: - name: black-hole - name: pagerduty-preprod-developer-service pagerduty_configs: - send_resolved: true http_config: {} service_key: <secret> url: https://events.pagerduty.com/v2/enqueue client: '{{ template "pagerduty.default.client" . }}' client_url: '{{ template "pagerduty.default.clientURL" . }}' description: '{{ template "custom-pagerduty" . }}' details: firing: '{{ template "pagerduty.default.instances" .Alerts.Firing }}' num_firing: '{{ .Alerts.Firing | len }}' num_resolved: '{{ .Alerts.Resolved | len }}' resolved: '{{ template "pagerduty.default.instances" .Alerts.Resolved }}' * links:* * - href: https://example.com* * text: foobar text* *message received by PagerDuty* { "client": "AlertManager", "client_url": "http://localhost:9093/#/alerts?receiver=pagerduty-preprod-developer-service", "description": " foo-cluster-whocares @ High latency is high! ", "event_type": "trigger", "incident_key": "a15b839deaf7cb00c", "service_key": "06b3", "details": { "resolved": "", "num_resolved": "0", "num_firing": "1", "firing": "Labels: - alertname = foo-JMG-Alert-22554 - cluster = foo-cluster-whocares - foundation = preprod - instance = foo-JMG-Alert-22554.example.net - service = developer - severity = critical Annotations: - description = this is my description - summary = High latency is high! Source: http://local-example-alert/foo-JMG-Alert-22554 " } } -- 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/15328daa-4b9a-4978-98f0-23f6526ad27en%40googlegroups.com.

