m-lab / alertmanager-github-receiver

Prometheus Alertmanager webhook receiver that creates GitHub issues from alerts
Apache License 2.0
48 stars 23 forks source link

Add amreceiver_alerts_total metric #30

Closed robertodauria closed 5 years ago

robertodauria commented 5 years ago

This PR adds the amreceiver_alerts_total metric to keep track of alerts coming from AlertManager. This allows us to get historical data on which alerts fired/resolved and were routed to this receiver.

I've prefixed the metric with the amreceiver namespace in an attempt to follow https://prometheus.io/docs/practices/naming/.


This change is Reviewable

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 111


Totals Coverage Status
Change from base Build 105: 0.0%
Covered Lines: 297
Relevant Lines: 297

💛 - Coveralls