{"action":"created","issue":{"url":"https://api.github.com/repos/divolte/divolte-collector/issues/195","repository_url":"https://api.github.com/repos/divolte/divolte-collector","labels_url":"https://api.github.com/repos/divolte/divolte-collector/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/divolte/divolte-collector/issues/195/comments","events_url":"https://api.github.com/repos/divolte/divolte-collector/issues/195/events","html_url":"https://github.com/divolte/divolte-collector/issues/195","id":304693078,"number":195,"title":"prometheus metrics","user":{"login":"leo-baltus","id":8583808,"avatar_url":"https://avatars3.githubusercontent.com/u/8583808?v=4","gravatar_id":"","url":"https://api.github.com/users/leo-baltus","html_url":"https://github.com/leo-baltus","followers_url":"https://api.github.com/users/leo-baltus/followers","following_url":"https://api.github.com/users/leo-baltus/following{/other_user}","gists_url":"https://api.github.com/users/leo-baltus/gists{/gist_id}","starred_url":"https://api.github.com/users/leo-baltus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leo-baltus/subscriptions","organizations_url":"https://api.github.com/users/leo-baltus/orgs","repos_url":"https://api.github.com/users/leo-baltus/repos","events_url":"https://api.github.com/users/leo-baltus/events{/privacy}","received_events_url":"https://api.github.com/users/leo-baltus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-13T09:49:31Z","updated_at":"2018-03-14T07:34:33Z","closed_at":null,"author_association":"NONE","body":"We had an issue where one of the sinks was not properly configured which resulted in divolte trying non-stop deliver to it. Meanwhile the other sink was working and divolte was happily taking in traffic so we did not notice right away.\r\n\r\nOne way of detecting this situation is to have divolte report its health (in a more granular manner than a ping) through metrics. Since we are using prometheus and kubernetes it would be nice to have some metrics as well as an idea of how happy divolte is at any given time.\r\n"},"comment":{"url":"https://api.github.com/repos/divolte/divolte-collector/issues/comments/372929728","html_url":"https://github.com/divolte/divolte-collector/issues/195#issuecomment-372929728","issue_url":"https://api.github.com/repos/divolte/divolte-collector/issues/195","id":372929728,"user":{"login":"friso","id":273638,"avatar_url":"https://avatars1.githubusercontent.com/u/273638?v=4","gravatar_id":"","url":"https://api.github.com/users/friso","html_url":"https://github.com/friso","followers_url":"https://api.github.com/users/friso/followers","following_url":"https://api.github.com/users/friso/following{/other_user}","gists_url":"https://api.github.com/users/friso/gists{/gist_id}","starred_url":"https://api.github.com/users/friso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friso/subscriptions","organizations_url":"https://api.github.com/users/friso/orgs","repos_url":"https://api.github.com/users/friso/repos","events_url":"https://api.github.com/users/friso/events{/privacy}","received_events_url":"https://api.github.com/users/friso/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T07:34:33Z","updated_at":"2018-03-14T07:34:33Z","author_association":"COLLABORATOR","body":"I believe there are some initiatives on metrics underway. What do you think would be the minimum set of metrics that Divolte should expose?\r\n\r\nFailure to deliver events downstream should be logged at either `WARN` or `ERROR` level. Depending on your logging setup, you could already capture those and report them as metrics."}}
{"actor":{"display_login":"friso"}}