Reputation: 65
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?
Upvotes: 0
Views: 2325
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