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:
---
apiVersion: operator.victoriametrics.com/v1beta1
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 }}"



-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/e8953c11-be65-4941-925a-1d252f6b9fa3n%40googlegroups.com.

Reply via email to