{"action":"created","issue":{"url":"https://api.github.com/repos/raintank/worldping-api/issues/7","repository_url":"https://api.github.com/repos/raintank/worldping-api","labels_url":"https://api.github.com/repos/raintank/worldping-api/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/raintank/worldping-api/issues/7/comments","events_url":"https://api.github.com/repos/raintank/worldping-api/issues/7/events","html_url":"https://github.com/raintank/worldping-api/issues/7","id":145725592,"number":7,"title":"making alerting mergable into grafana/grafana","user":{"login":"woodsaj","id":8415072,"avatar_url":"https://avatars.githubusercontent.com/u/8415072?v=3","gravatar_id":"","url":"https://api.github.com/users/woodsaj","html_url":"https://github.com/woodsaj","followers_url":"https://api.github.com/users/woodsaj/followers","following_url":"https://api.github.com/users/woodsaj/following{/other_user}","gists_url":"https://api.github.com/users/woodsaj/gists{/gist_id}","starred_url":"https://api.github.com/users/woodsaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodsaj/subscriptions","organizations_url":"https://api.github.com/users/woodsaj/orgs","repos_url":"https://api.github.com/users/woodsaj/repos","events_url":"https://api.github.com/users/woodsaj/events{/privacy}","received_events_url":"https://api.github.com/users/woodsaj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T15:52:05Z","updated_at":"2016-04-04T15:52:06Z","closed_at":null,"body":"<a href=\"https://github.com/Dieterbe\"><img src=\"https://avatars.githubusercontent.com/u/20774?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [Dieterbe](https://github.com/Dieterbe)**\n_Monday Jun 22, 2015 at 00:35 GMT_\n_Originally opened as https://github.com/raintank/grafana/issues/230_\n\n----\n\nwhat needs to happen before we can merge alerting feature into grafana/grafana?\r\nhere's my thoughts:\r\n\r\n* remove litmus-specific stuff from pkg/alerting, pkg/alerting should be a generic scheduler, executor, etc.\r\n* make litmus related go code some sort of plugin. litmus plugin reads monitor tables and tells the generic alerting subsystem which alert jobs should be scheduled.\r\n\r\nonce this is done, we can start working on arbitrary/user-specified alerts\n"},"comment":{"url":"https://api.github.com/repos/raintank/worldping-api/issues/comments/205362922","html_url":"https://github.com/raintank/worldping-api/issues/7#issuecomment-205362922","issue_url":"https://api.github.com/repos/raintank/worldping-api/issues/7","id":205362922,"user":{"login":"woodsaj","id":8415072,"avatar_url":"https://avatars.githubusercontent.com/u/8415072?v=3","gravatar_id":"","url":"https://api.github.com/users/woodsaj","html_url":"https://github.com/woodsaj","followers_url":"https://api.github.com/users/woodsaj/followers","following_url":"https://api.github.com/users/woodsaj/following{/other_user}","gists_url":"https://api.github.com/users/woodsaj/gists{/gist_id}","starred_url":"https://api.github.com/users/woodsaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodsaj/subscriptions","organizations_url":"https://api.github.com/users/woodsaj/orgs","repos_url":"https://api.github.com/users/woodsaj/repos","events_url":"https://api.github.com/users/woodsaj/events{/privacy}","received_events_url":"https://api.github.com/users/woodsaj/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T15:52:06Z","updated_at":"2016-04-04T15:52:06Z","body":"<a href=\"https://github.com/Dieterbe\"><img src=\"https://avatars.githubusercontent.com/u/20774?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [Dieterbe](https://github.com/Dieterbe)**\n_Thursday Aug 13, 2015 at 13:32 GMT_\n\n----\n\nother things to keep in mind:\r\n* litmus user monitoring settings are stored somehow (currently grafana db) and get converted into expressions for bosun\r\n* litmus alerting handler currently uses bus to query database for jobs, store results, send notification emails, load/set offset, publish monitor health metrics, ... this is the main code infrastructure it's currently tangled into.  it also uses some other stuff (statsd instrumentation, logger, ..) but that's less tightly coupled to grafana.\r\n\n"}}