hi all i have a question
Does promtail have an annotations function? like prometheus
Although there is a label function, it seems that there is no annotation function.
thx
ex) prometheus alert_rule
groups:
- name: Instances
rules:
- alert: InstanceDown
expr: up == 0
for: 5m
labels:
severity: page
# Prometheus templates apply here in the annotation and label fields of the alert.
**annotations:**
description: '{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes.'
summary: 'Instance {{ $labels.instance }} down'