Please Help Me With avg_over_time function.

26 views
Skip to first unread message

Sumant Pangotra

unread,
Jun 5, 2021, 9:01:14 AM6/5/21
to Prometheus Users
I want to fire an alert if average of a metric over last 5 hour is equal to 1.
But there are certain labels which are changed if a restart happens.

How can I calculate avg_over_time by ignoring certain labels.
My prom version is 2.2.1
Reply all
Reply to author
Forward
0 new messages