Lawrence Liu
Lawrence Liu

Reputation: 65

what does avg() mean at grafana alert?

im confused about avg() at grafana alert, i did not found any document explain the meaning of this.

How does avg() calculate? If I set Evaluate every 5m for 0m, will the avg() same as sum()? any one can explain how does avg() calculated at this case?

enter image description here

Upvotes: 0

Views: 2325

Answers (1)

Jens Baitinger
Jens Baitinger

Reputation: 2365

based on your screenshot you will an alert of get the average of a single metric resulting from query A over the last 192 hours is above 1 and one if it is above 1.

Please note, that you have only a single alert per panel, this will result in an always-on alert.

Upvotes: 1

Related Questions