{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/log-cache/issues/72","repository_url":"https://api.github.com/repos/cloudfoundry/log-cache","labels_url":"https://api.github.com/repos/cloudfoundry/log-cache/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/log-cache/issues/72/comments","events_url":"https://api.github.com/repos/cloudfoundry/log-cache/issues/72/events","html_url":"https://github.com/cloudfoundry/log-cache/issues/72","id":332099076,"node_id":"MDU6SXNzdWUzMzIwOTkwNzY=","number":72,"title":"PromQL results are irregular","user":{"login":"dtimm","id":1342842,"node_id":"MDQ6VXNlcjEzNDI4NDI=","avatar_url":"https://avatars0.githubusercontent.com/u/1342842?v=4","gravatar_id":"","url":"https://api.github.com/users/dtimm","html_url":"https://github.com/dtimm","followers_url":"https://api.github.com/users/dtimm/followers","following_url":"https://api.github.com/users/dtimm/following{/other_user}","gists_url":"https://api.github.com/users/dtimm/gists{/gist_id}","starred_url":"https://api.github.com/users/dtimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtimm/subscriptions","organizations_url":"https://api.github.com/users/dtimm/orgs","repos_url":"https://api.github.com/users/dtimm/repos","events_url":"https://api.github.com/users/dtimm/events{/privacy}","received_events_url":"https://api.github.com/users/dtimm/received_events","type":"User","site_admin":false},"labels":[{"id":750663067,"node_id":"MDU6TGFiZWw3NTA2NjMwNjc=","url":"https://api.github.com/repos/cloudfoundry/log-cache/labels/unscheduled","name":"unscheduled","color":"D9D9D9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-13T17:51:46Z","updated_at":"2018-06-13T17:55:14Z","closed_at":null,"author_association":"NONE","body":"Metrics are not consistently available in log-cache when running the same query multiple times.\r\n\r\nThe first query below returns a data point, but subsequently it is only available intermittently:\r\n```\r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": [\r\n      {\r\n        \"metric\": {\r\n          \"deployment\": \"healthwatch-v1-3\",\r\n          \"foundation\": \"acceptance-v1-3\",\r\n          \"index\": \"b19ae1f4-0ed6-4f81-7a62-e4d6\",\r\n          \"ip\": \"\",\r\n          \"job\": \"healthwatch-forwarder\",\r\n          \"origin\": \"healthwatch\"\r\n        },\r\n        \"points\": [\r\n          {\r\n            \"time\": \"1528909680000000000\",\r\n            \"value\": 0\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": [\r\n      {\r\n        \"metric\": {\r\n          \"deployment\": \"healthwatch-v1-3\",\r\n          \"foundation\": \"acceptance-v1-3\",\r\n          \"index\": \"b19ae1f4-0ed6-4f81-7a62-e4d6\",\r\n          \"ip\": \"\",\r\n          \"job\": \"healthwatch-forwarder\",\r\n          \"origin\": \"healthwatch\"\r\n        },\r\n        \"points\": [\r\n          {\r\n            \"time\": \"1528909680000000000\",\r\n            \"value\": 0\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": [\r\n      {\r\n        \"metric\": {\r\n          \"deployment\": \"healthwatch-v1-3\",\r\n          \"foundation\": \"acceptance-v1-3\",\r\n          \"index\": \"b19ae1f4-0ed6-4f81-7a62-e4d6\",\r\n          \"ip\": \"\",\r\n          \"job\": \"healthwatch-forwarder\",\r\n          \"origin\": \"healthwatch\"\r\n        },\r\n        \"points\": [\r\n          {\r\n            \"time\": \"1528909680000000000\",\r\n            \"value\": 0\r\n          }\r\n        ]\r\n      }\r\n    ]\r\n  }\r\n}\r\n\r\n  \r\n$ curl -G \"https://log-cache.---.com/v1/promql\" --data-urlencode 'query=redis_counterEventQueue_size{source_id=\"healthwatch-forwarder\",deployment=\"healthwatch-v1-3\"}[4m]' -H \"Authorization: $(cf oauth-token)\" -k | jq .\r\n{\r\n  \"matrix\": {\r\n    \"series\": []\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/log-cache/issues/comments/397028532","html_url":"https://github.com/cloudfoundry/log-cache/issues/72#issuecomment-397028532","issue_url":"https://api.github.com/repos/cloudfoundry/log-cache/issues/72","id":397028532,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzAyODUzMg==","user":{"login":"toddboom","id":53132,"node_id":"MDQ6VXNlcjUzMTMy","avatar_url":"https://avatars0.githubusercontent.com/u/53132?v=4","gravatar_id":"","url":"https://api.github.com/users/toddboom","html_url":"https://github.com/toddboom","followers_url":"https://api.github.com/users/toddboom/followers","following_url":"https://api.github.com/users/toddboom/following{/other_user}","gists_url":"https://api.github.com/users/toddboom/gists{/gist_id}","starred_url":"https://api.github.com/users/toddboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddboom/subscriptions","organizations_url":"https://api.github.com/users/toddboom/orgs","repos_url":"https://api.github.com/users/toddboom/repos","events_url":"https://api.github.com/users/toddboom/events{/privacy}","received_events_url":"https://api.github.com/users/toddboom/received_events","type":"User","site_admin":false},"created_at":"2018-06-13T17:55:13Z","updated_at":"2018-06-13T17:55:13Z","author_association":"MEMBER","body":"@dtimm Thanks for reporting this. I think it might be related to #57, but we should keep this open since you've got additional context here.\r\n\r\nWe're already digging into the issue and will update you once we've got it resolved.\r\n\r\n"}}
{"actor":{"display_login":"toddboom"}}