PCA (Prometheus Certified Associate) sample exam question with answer 38
Question:
In an alerting rule, which syntax can be used to specify the value of a label called node within a different alert label or annotation?
- {{ $labels.node }}
- $labels.node
- label_value("node")
- labels["node"]
Answer:
A -
Simple alert field templates