{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/359","repository_url":"https://api.github.com/repos/prometheus/alertmanager","labels_url":"https://api.github.com/repos/prometheus/alertmanager/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/alertmanager/issues/359/comments","events_url":"https://api.github.com/repos/prometheus/alertmanager/issues/359/events","html_url":"https://github.com/prometheus/alertmanager/pull/359","id":157413889,"number":359,"title":"Add support for NATS as a notifier.","user":{"login":"diogogmt","id":794765,"avatar_url":"https://avatars.githubusercontent.com/u/794765?v=3","gravatar_id":"","url":"https://api.github.com/users/diogogmt","html_url":"https://github.com/diogogmt","followers_url":"https://api.github.com/users/diogogmt/followers","following_url":"https://api.github.com/users/diogogmt/following{/other_user}","gists_url":"https://api.github.com/users/diogogmt/gists{/gist_id}","starred_url":"https://api.github.com/users/diogogmt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diogogmt/subscriptions","organizations_url":"https://api.github.com/users/diogogmt/orgs","repos_url":"https://api.github.com/users/diogogmt/repos","events_url":"https://api.github.com/users/diogogmt/events{/privacy}","received_events_url":"https://api.github.com/users/diogogmt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-30T00:22:12Z","updated_at":"2016-06-02T02:12:23Z","closed_at":"2016-06-02T02:12:23Z","pull_request":{"url":"https://api.github.com/repos/prometheus/alertmanager/pulls/359","html_url":"https://github.com/prometheus/alertmanager/pull/359","diff_url":"https://github.com/prometheus/alertmanager/pull/359.diff","patch_url":"https://github.com/prometheus/alertmanager/pull/359.patch"},"body":"Initial PR to add support for new NATS notifier.\r\n\r\nNATS is a simple and fast message queue: http://nats.io/\r\n\r\n@brian-brazil I have a couple of questions regarding adding  a new notifier:\r\n\r\n* The WebHook notifier defines a WebhookMessage struct with a version and a group key, does the NATS notifier needs to define something similar?\r\n* Should the VSendResolved flag be true or false for the DefaultNatsConfig?\r\n\r\n**Please ignore the printf's since I'm still testing the code, I'm opening the PR to get some initial feedback and make sure I'm on the right track."},"comment":{"url":"https://api.github.com/repos/prometheus/alertmanager/issues/comments/223177723","html_url":"https://github.com/prometheus/alertmanager/pull/359#issuecomment-223177723","issue_url":"https://api.github.com/repos/prometheus/alertmanager/issues/359","id":223177723,"user":{"login":"juliusv","id":538008,"avatar_url":"https://avatars.githubusercontent.com/u/538008?v=3","gravatar_id":"","url":"https://api.github.com/users/juliusv","html_url":"https://github.com/juliusv","followers_url":"https://api.github.com/users/juliusv/followers","following_url":"https://api.github.com/users/juliusv/following{/other_user}","gists_url":"https://api.github.com/users/juliusv/gists{/gist_id}","starred_url":"https://api.github.com/users/juliusv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliusv/subscriptions","organizations_url":"https://api.github.com/users/juliusv/orgs","repos_url":"https://api.github.com/users/juliusv/repos","events_url":"https://api.github.com/users/juliusv/events{/privacy}","received_events_url":"https://api.github.com/users/juliusv/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T02:12:23Z","updated_at":"2016-06-02T02:12:23Z","body":"Thanks for this PR, but I will have to unfortunately agree with @brian-brazil that it doesn't make sense to add (and support, document, maintain, ...) direct interfaces to arbitrary queueing systems in the Alertmanager. For this kind of generic use case, please use the webhook notifier instead.\r\n\r\nClosing this."}}
{"actor":{"display_login":"juliusv"}}