Hi all,
I had created the configuration in prometheus for setting up alert using
alert manager and pagerduty. But alert configuration itself is not picking
up the instance details.
For example below is the config of the alert:
- alert: RepairFailed
expr: (sum(scylla_manager_task_run_total{type=~"repair", status="ERROR"})
or vector(0)) - (sum(scylla_manager_task_run_total{type=~"repair",
status="ERROR"} offset 3m) or vector(0)) > 0
for: 15m
labels:
severity: CRITICAL
environment: "{{ AWS_ENVIRONMENT }}"
monitoring: RepairFailed
rackspace: "true"
hostname: "{{ $labels.instance }}"
annotations:
description: 'For {{ $labels.instance }} Repair failed'
summary: Instance {{ $labels.instance }} Repair task failed
But alert which is getting triggered on pager duty is not showing the
instance details in description and in summary itself.
Could anyone help me on this.
--
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/3dd8a393-30bc-4481-b450-c9bab1854287n%40googlegroups.com.