diff --git a/k8s/core/prom-stack/grafana-alerting-configmap.yaml b/k8s/core/prom-stack/grafana-alerting-configmap.yaml
index 7e75bfa..2d0ee84 100644
--- a/k8s/core/prom-stack/grafana-alerting-configmap.yaml
+++ b/k8s/core/prom-stack/grafana-alerting-configmap.yaml
@@ -52,8 +52,11 @@ data:
execErrState: Alerting
for: 5m
annotations:
- description: 'Throttling rate: {{ printf "%.2f" $values.A }}'
- summary: 'VPN node throttling CPU on {{ $labels.node }}'
+ pod: '{{ $labels.pod }}'
+ node: '{{ $labels.node }}'
+ namespace: '{{ $labels.namespace }}'
+ throttle_rate: '{{ printf "%.2f" $values.A }}'
+ summary: 'VPN node throttling CPU'
labels:
severity: warning
@@ -74,15 +77,15 @@ data:
{{ range .Alerts }}
📊 {{ .Labels.alertname }}
- {{ if .Annotations.summary }}{{ .Annotations.summary }}{{ end }}
+ {{ .Annotations.summary }}
🎯 Details:
- • Pod: {{ .Labels.pod }}
- • Node: {{ .Labels.node }}
- • Namespace: {{ .Labels.namespace }}
- {{ if .Annotations.description }}• {{ .Annotations.description }}{{ end }}
+ • Pod: {{ .Annotations.pod }}
+ • Node: {{ .Annotations.node }}
+ • Namespace: {{ .Annotations.namespace }}
+ • Throttling rate: {{ .Annotations.throttle_rate }}
- 🔗 Silence | Dashboard
+ 🔗 View in Grafana
{{ end }}
parse_mode: HTML