阅读背景:

普罗米修斯:在有条件的情况下提醒的最佳方法是什么?

来源:互联网 

I'm using Prometheus to collect metrics for a java application. In my application, I'm making calls to authenticate via an API. I'm devising the best approach for Prometheus to send an alert to my e-mail if authentication to the API ever fails. I'm thinking of using a gauge, initializing it as 0, and if authentication ever fails, increase the gauge value to 1 -- which will then fire off an alert that monitors the value of the gauge (if gauge > 0, fire an alert).I'm using Prometheus to collect metrics for a j




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: