{"action":"created","issue":{"url":"https://api.github.com/repos/grafana/grafana/issues/6058","repository_url":"https://api.github.com/repos/grafana/grafana","labels_url":"https://api.github.com/repos/grafana/grafana/issues/6058/labels{/name}","comments_url":"https://api.github.com/repos/grafana/grafana/issues/6058/comments","events_url":"https://api.github.com/repos/grafana/grafana/issues/6058/events","html_url":"https://github.com/grafana/grafana/issues/6058","id":177353950,"number":6058,"title":"some annotation lines are missing when using Prometheus query","user":{"login":"yuecong","id":4565613,"avatar_url":"https://avatars.githubusercontent.com/u/4565613?v=3","gravatar_id":"","url":"https://api.github.com/users/yuecong","html_url":"https://github.com/yuecong","followers_url":"https://api.github.com/users/yuecong/followers","following_url":"https://api.github.com/users/yuecong/following{/other_user}","gists_url":"https://api.github.com/users/yuecong/gists{/gist_id}","starred_url":"https://api.github.com/users/yuecong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuecong/subscriptions","organizations_url":"https://api.github.com/users/yuecong/orgs","repos_url":"https://api.github.com/users/yuecong/repos","events_url":"https://api.github.com/users/yuecong/events{/privacy}","received_events_url":"https://api.github.com/users/yuecong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grafana/grafana/labels/state:%20needs%20more%20detail","name":"state: needs more detail","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-16T06:29:18Z","updated_at":"2016-09-16T06:49:32Z","closed_at":null,"body":"* **I'm submitting a bug report**\r\n\r\nPlease include this information:\r\n- What Grafana version are you using?\r\nGrafana version: 3.0.4, commit: v3.0.4, build date: 2016-05-25 01:46:55\r\n- What datasource are you using?\r\nPrometheus\r\n- What OS are you running grafana on?\r\nUbuntu \r\n- What did you do?\r\nI am trying to create annotations using Prometheus metrics to be shown in each metrics. As the following screenshot, the query for annotations and the graph are the same, but it shows that some annotation lines are missed.\r\n<img width=\"1253\" alt=\"screen shot 2016-09-15 at 11 22 10 pm\" src=\"https://cloud.githubusercontent.com/assets/4565613/18577027/8feba256-7b9b-11e6-9ed8-ae7b7d08efa7.png\">\r\n Here is the Json setting for annotation. The datasource and query in the graph are the same to this annotation. This also happens in other queries. \r\n      {\r\n        \"datasource\": \"Staging\",\r\n        \"enable\": true,\r\n        \"expr\": \"changes(clusterManagerDuration_count{shardName=~\\\"$shards\\\", opTarget =\\\"deleteCluster\\\"}[1m])\",\r\n        \"iconColor\": \"rgb(96, 255, 101)\",\r\n        \"name\": \"deleteCluster\",\r\n        \"textFormat\": \"Delete Cluster\"\r\n      },\r\n\r\n- What was the expected result?\r\nAll the results for the Prometheus query equaling 1(True) should be able to shown as an annotation line in the metrics.\r\n- What happened instead?\r\nSome annotation lines missed as shown in the above screenshot\r\n\r\n**IMPORTANT** If it relates to metric data viz:\r\n- An image or text representation of your metric query\r\n- The raw query and response for the network request (check this in chrome dev tools network tab, here you can see metric requests and other request, please include the request body and request response)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grafana/grafana/issues/comments/247530411","html_url":"https://github.com/grafana/grafana/issues/6058#issuecomment-247530411","issue_url":"https://api.github.com/repos/grafana/grafana/issues/6058","id":247530411,"user":{"login":"torkelo","id":10999,"avatar_url":"https://avatars.githubusercontent.com/u/10999?v=3","gravatar_id":"","url":"https://api.github.com/users/torkelo","html_url":"https://github.com/torkelo","followers_url":"https://api.github.com/users/torkelo/followers","following_url":"https://api.github.com/users/torkelo/following{/other_user}","gists_url":"https://api.github.com/users/torkelo/gists{/gist_id}","starred_url":"https://api.github.com/users/torkelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torkelo/subscriptions","organizations_url":"https://api.github.com/users/torkelo/orgs","repos_url":"https://api.github.com/users/torkelo/repos","events_url":"https://api.github.com/users/torkelo/events{/privacy}","received_events_url":"https://api.github.com/users/torkelo/received_events","type":"User","site_admin":false},"created_at":"2016-09-16T06:49:32Z","updated_at":"2016-09-16T06:49:32Z","body":"ok, do you see two identical queries / responses when you hit refresh button?"}}
{"actor":{"display_login":"torkelo"}}