{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/1569","repository_url":"https://api.github.com/repos/prometheus/alertmanager","labels_url":"https://api.github.com/repos/prometheus/alertmanager/issues/1569/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/alertmanager/issues/1569/comments","events_url":"https://api.github.com/repos/prometheus/alertmanager/issues/1569/events","html_url":"https://github.com/prometheus/alertmanager/issues/1569","id":366689416,"node_id":"MDU6SXNzdWUzNjY2ODk0MTY=","number":1569,"title":"Feature request: add metrics around the handling of alerts","user":{"login":"apuchitnis","id":10189197,"node_id":"MDQ6VXNlcjEwMTg5MTk3","avatar_url":"https://avatars2.githubusercontent.com/u/10189197?v=4","gravatar_id":"","url":"https://api.github.com/users/apuchitnis","html_url":"https://github.com/apuchitnis","followers_url":"https://api.github.com/users/apuchitnis/followers","following_url":"https://api.github.com/users/apuchitnis/following{/other_user}","gists_url":"https://api.github.com/users/apuchitnis/gists{/gist_id}","starred_url":"https://api.github.com/users/apuchitnis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apuchitnis/subscriptions","organizations_url":"https://api.github.com/users/apuchitnis/orgs","repos_url":"https://api.github.com/users/apuchitnis/repos","events_url":"https://api.github.com/users/apuchitnis/events{/privacy}","received_events_url":"https://api.github.com/users/apuchitnis/received_events","type":"User","site_admin":false},"labels":[{"id":365566474,"node_id":"MDU6TGFiZWwzNjU1NjY0NzQ=","url":"https://api.github.com/repos/prometheus/alertmanager/labels/component/notify","name":"component/notify","color":"0052cc","default":false},{"id":365051356,"node_id":"MDU6TGFiZWwzNjUwNTEzNTY=","url":"https://api.github.com/repos/prometheus/alertmanager/labels/kind/enhancement","name":"kind/enhancement","color":"c7def8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-10-04T09:03:15Z","updated_at":"2018-10-23T11:01:10Z","closed_at":"2018-10-23T10:03:17Z","author_association":"NONE","body":"**What did you do?**\r\n\r\nI went to the `/metrics` path on alertmanager.\r\n\r\n**What did you expect to see?**\r\n\r\nThis is a feature request: I would like to see metrics around the handling of alerts. For example, the number of times a given alert had been received by an alertmanger receiver, and handled by a specific route. This will allow me to get statistics around how many times an alert has fired, so that I can better understand the behaviour of alerts that alertmanager recevies.\r\n\r\nI had a look around docs, issues, user guides etc, and unfortunately could not find anything relevant. If I'm missing something obvious, my apologies, and please let me know!\r\n\r\nEdit: I'm happy to work on a PR for this if this is indeed a good suggestion. Just let me know :)"},"comment":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/comments/432200892","html_url":"https://github.com/prometheus/alertmanager/issues/1569#issuecomment-432200892","issue_url":"https://api.github.com/repos/prometheus/alertmanager/issues/1569","id":432200892,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjIwMDg5Mg==","user":{"login":"simonpasquier","id":2587585,"node_id":"MDQ6VXNlcjI1ODc1ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/2587585?v=4","gravatar_id":"","url":"https://api.github.com/users/simonpasquier","html_url":"https://github.com/simonpasquier","followers_url":"https://api.github.com/users/simonpasquier/followers","following_url":"https://api.github.com/users/simonpasquier/following{/other_user}","gists_url":"https://api.github.com/users/simonpasquier/gists{/gist_id}","starred_url":"https://api.github.com/users/simonpasquier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonpasquier/subscriptions","organizations_url":"https://api.github.com/users/simonpasquier/orgs","repos_url":"https://api.github.com/users/simonpasquier/repos","events_url":"https://api.github.com/users/simonpasquier/events{/privacy}","received_events_url":"https://api.github.com/users/simonpasquier/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T11:01:10Z","updated_at":"2018-10-23T11:01:10Z","author_association":"MEMBER","body":"Thanks for your understanding @apuchitnis!"}}
{"actor":{"display_login":"simonpasquier"}}