how to get alerts count ,how many times the alerts fired for last one week in prometheus

后端 未结 0 480
南笙
南笙 2021-01-06 12:59

sum by(alertname) (changes(ALERTS_FOR_STATE[24h])) this is giving me all the states. i need only like only how many alerts went to critical for last one week (already fired)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题