What is the difference between a rule and an alert in Prometheus?
Choose the correct option from below list
(1)There is no difference
(2)A rule creates new metrics, while an alert generates notifications based on metrics
(3)A rule aggregates metrics, while an alert modifies metrics
(4)A rule modifies labels, while an alert modifies values
Answer:-(2)A rule creates new metrics, while an alert generates notifications based on metrics | |