I need some help on configuring alert description in opsgenie.
We are sending alerts to opsgenie via alertmanager. Below is the sample rule.yaml file. In this file, we are adding alert name, summary and description but when alert triggers we are seeing below subject instead of this CPU utilization exceeded threshold(75%) on dga
[Prometheus]: [FIRING:1] CPU utilization exceeded threshold(75%) on dga telegraf-live-env critical (production dga dga cpu-total l
Can anyone please help me to get only required subject instead of getting above one
Rule.yaml:
---
kind: VMRule
metadata:
name: dga-alerts
labels:
app: victoria-metrics
spec:
groups:
- name: dga
rules:
- alert: CPU utilization exceeded threshold(75%) on dga
annotations:
summary: "Host high CPU load (instance {{ $labels.instance }})"
description: "CPU spike on {{ $labels.instance }} for {{ $labels.node }} is above threshold(75).\n VALUE = {{ $value }}"
runbookURL: ""
expr: |
100 -(cpu_usage_idle{cpu="cpu-total",ENV="production",host=~"dga[0-9]"}) > 75
for: 5m
labels:
severity: critical
job: "{{ $labels.job }}"
node: "{{ $labels.node }}"