{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/3031","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/3031/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/3031/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/3031/events","html_url":"https://github.com/grafana/grafana/issues/3031","id":113272370,"number":3031,"title":"annotations that represent a time range / period, not a point in time.","user":{"login":"Dieterbe","id":20774,"avatar_url":"https://avatars.githubusercontent.com/u/20774?v=3","gravatar_id":"","url":"https://api.github.com/users/Dieterbe","html_url":"https://github.com/Dieterbe","followers_url":"https://api.github.com/users/Dieterbe/followers","following_url":"https://api.github.com/users/Dieterbe/following{/other_user}","gists_url":"https://api.github.com/users/Dieterbe/gists{/gist_id}","starred_url":"https://api.github.com/users/Dieterbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dieterbe/subscriptions","organizations_url":"https://api.github.com/users/Dieterbe/orgs","repos_url":"https://api.github.com/users/Dieterbe/repos","events_url":"https://api.github.com/users/Dieterbe/events{/privacy}","received_events_url":"https://api.github.com/users/Dieterbe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grafana/grafana/labels/comp:%20annotations","name":"comp: annotations","color":"c7def8"},{"url":"https://api.github.com/repos/grafana/grafana/labels/type:%20feature%20request","name":"type: feature request","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2015-10-26T02:16:07Z","updated_at":"2016-07-13T15:35:02Z","closed_at":null,"body":"I'ld like to have some extended form of annotations so that i can mark time ranges on a graph, instead of points in time.\r\nthe graph below shows 3 benchmark runs that each have a start and stop annotation.\r\nit's not immediately obvious where the starts and ends are.  it would be much nicer if the entire time ranges between start and end could be colored.\r\n![hm](https://cloud.githubusercontent.com/assets/20774/10719741/c2ac02f4-7b64-11e5-8790-9cbe7076eeb6.png)\r\n\r\nthere's many use cases for this:\r\nmarking benchmark runs, marking outage periods, marking maintenance windows, marking alert statuses (i.e. time during which something was ok in green, and during which it was failed in red, etc)\r\n\r\nhere's a screenie of a graph that has a green marking, it could look something like this\r\n![hm2](https://cloud.githubusercontent.com/assets/20774/10719777/5db289f8-7b65-11e5-8518-355f7c8f0ae7.png)\r\n\r\nimplementation wise, i see 2 main options:\r\n* store events that have a start date and end date field. this makes it easy from grafana's perspective to get all needed data (because if for example the start of something was before the start of the graph, we still need to have it to apply coloring directly), though this requires a bit more complexity on the part of the tool inserting the events\r\n* store start and ends as separate annotations. easier data format, easier for the tool inserting the events, but pretty tricky for grafana to get all data it needs.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/232393944","html_url":"https://github.com/grafana/grafana/issues/3031#issuecomment-232393944","issue_url":"https://api.github.com/repos/grafana/grafana/issues/3031","id":232393944,"user":{"login":"smalik03","id":6777407,"avatar_url":"https://avatars.githubusercontent.com/u/6777407?v=3","gravatar_id":"","url":"https://api.github.com/users/smalik03","html_url":"https://github.com/smalik03","followers_url":"https://api.github.com/users/smalik03/followers","following_url":"https://api.github.com/users/smalik03/following{/other_user}","gists_url":"https://api.github.com/users/smalik03/gists{/gist_id}","starred_url":"https://api.github.com/users/smalik03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smalik03/subscriptions","organizations_url":"https://api.github.com/users/smalik03/orgs","repos_url":"https://api.github.com/users/smalik03/repos","events_url":"https://api.github.com/users/smalik03/events{/privacy}","received_events_url":"https://api.github.com/users/smalik03/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T15:35:02Z","updated_at":"2016-07-13T15:35:02Z","body":"+1\r\n"}}
{"actor":{"display_login":"smalik03"}}