{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/heroic/issues/154","repository_url":"https://api.github.com/repos/spotify/heroic","labels_url":"https://api.github.com/repos/spotify/heroic/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/spotify/heroic/issues/154/comments","events_url":"https://api.github.com/repos/spotify/heroic/issues/154/events","html_url":"https://github.com/spotify/heroic/issues/154","id":195004254,"number":154,"title":"The cluster is consuming data but not returning anything anymore.","user":{"login":"valentinul","id":5860438,"avatar_url":"https://avatars.githubusercontent.com/u/5860438?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinul","html_url":"https://github.com/valentinul","followers_url":"https://api.github.com/users/valentinul/followers","following_url":"https://api.github.com/users/valentinul/following{/other_user}","gists_url":"https://api.github.com/users/valentinul/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinul/subscriptions","organizations_url":"https://api.github.com/users/valentinul/orgs","repos_url":"https://api.github.com/users/valentinul/repos","events_url":"https://api.github.com/users/valentinul/events{/privacy}","received_events_url":"https://api.github.com/users/valentinul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-12T15:33:55Z","updated_at":"2016-12-12T15:58:04Z","closed_at":null,"body":"Hi,\r\nAfter deciding to go with a \"cluster\" because of the need of pushing more and more metrics, I cannot get back any data from the cluster. \r\nWhen I was running in single node mode, everything was returned as expected...\r\n\r\nI'm using grafana as graphing engine and I have queries like the following:\r\n`average by hosts from points(1d) where type=epp_connections with size=5m`\r\n\r\nThe same query executed in the shell server returns the following: \r\n```\r\nheroic> query \"average by hosts from points(1d) where type=epp_connections with size=5m\"\r\nLIMITS: []\r\nTRACE:\r\ncom.spotify.heroic.CoreQueryManager#query (in 3.516us)\r\n  grpc://heroic1.cc:1394#query (in 3.406us)\r\n    com.spotify.heroic.metric.LocalMetricManager#query (in 2.522us)\r\ntime: 25.801 ms\r\n```\r\nAny ideas why ? \r\nMy configuration is the following...\r\n\r\n```\r\n# heroic.yaml\r\nport: 8080\r\n\r\nconsumers:\r\n  - type: kafka\r\n    schema: com.spotify.heroic.consumer.schemas.Spotify100\r\n    topics:\r\n      - \"metrics\"\r\n    config:\r\n      group.id: heroic\r\n      zookeeper.connect: kafkabaer3.cc:2181,kafkabaer2.cc:2181,kafkabaer1.cc:2181\r\n      auto.offset.reset: largest\r\n      auto.commit.enable: true\r\n\r\ncluster:\r\n  tags:\r\n    site: HG\r\n  protocols:\r\n    - type: grpc\r\n      port: 1394\r\n  discovery:\r\n    type: static\r\n    nodes:\r\n      - grpc://heroic.cc:1394\r\n      - grpc://heroic1.cc:1394\r\n      - grpc://heroic2.cc:1394\r\n      - grpc://heroic3.cc:1394\r\nmetrics:\r\n  backends:\r\n    - type: datastax\r\n      seeds:\r\n        - cassandra-node5.cc\r\n        - cassandra-node2.cc\r\n        - cassandra-node3.cc\r\n        - cassandra-node4.cc\r\n        - cassandra-node1.cc\r\n\r\nmetadata:\r\n  backends:\r\n    - type: elasticsearch\r\n      backendType: kv\r\n      connection:\r\n        index:\r\n            type: rotating \r\n            pattern: heroic-a-%s\r\n            interval: 1d\r\n        seeds:\r\n            - heroic-e2.cc\r\n            - heroic-e1.cc\r\n            - heroic-e.cc\r\n        clusterName: heroic\r\n        nodeClient: true\r\n\r\nsuggest:\r\n  backends:\r\n    - type: elasticsearch\r\n      backendType: kv\r\n      connection:\r\n        index:\r\n            type: rotating\r\n            pattern: heroic-a-%s\r\n            interval: 1d\r\n        seeds:\r\n            - heroic-e2.cc\r\n            - heroic-e1.cc\r\n            - heroic-e.cc\r\n        clusterName: heroic\r\n        nodeClient: true\r\n\r\nshellServer:\r\n  host: \"131.1.2.3\"\r\n  port: 9190\r\n```"},"comment":{"url":"https://api.github.com/repos/spotify/heroic/issues/comments/266468281","html_url":"https://github.com/spotify/heroic/issues/154#issuecomment-266468281","issue_url":"https://api.github.com/repos/spotify/heroic/issues/154","id":266468281,"user":{"login":"valentinul","id":5860438,"avatar_url":"https://avatars.githubusercontent.com/u/5860438?v=3","gravatar_id":"","url":"https://api.github.com/users/valentinul","html_url":"https://github.com/valentinul","followers_url":"https://api.github.com/users/valentinul/followers","following_url":"https://api.github.com/users/valentinul/following{/other_user}","gists_url":"https://api.github.com/users/valentinul/gists{/gist_id}","starred_url":"https://api.github.com/users/valentinul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valentinul/subscriptions","organizations_url":"https://api.github.com/users/valentinul/orgs","repos_url":"https://api.github.com/users/valentinul/repos","events_url":"https://api.github.com/users/valentinul/events{/privacy}","received_events_url":"https://api.github.com/users/valentinul/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T15:58:04Z","updated_at":"2016-12-12T15:58:04Z","body":"![heroic-api](https://cloud.githubusercontent.com/assets/5860438/21105805/e58699d4-c08b-11e6-824a-1ed069761ff3.png)\r\nI can see metrics/keys only when I go a general select like -> average by hosts.\r\nThis returns for example ->  1453884 matching series \r\n\r\nThe attached screenshot show this maybe better.+"}}
{"actor":{"display_login":"valentinul"}}