API Query does not return data & Does running MetaSync on a different node have any impact ?

32 views
Skip to first unread message

raghu...@gmail.com

unread,
Jun 9, 2016, 11:43:02 AM6/9/16
to OpenTSDB
Hi All,

Please redirect me if this question is already answered.

We have a cluster running opentsdb -2.2.0 version on total of 5 Nodes( 4(2-used for read/query, 2-used for data ingest, 1-optional will be turning on for running metasync)

Right now Issue we are experiencing is we have data loaded successfully into opentsdb( able to view using opentsdb UI and Grafana) but unable to query using API.



Returns

{
  "type": "LOOKUP",
  "metric": "*",
  "tags": [
    {
      "key": "serialno",
      "value": "test1"
    }
  ],
  "limit": 200,
  "time": 260,
  "results": [],
  "startIndex": 0,
  "totalResults": 0


I have ran the MetaSync but no improvement..? 

Is this because of running metasync on a different node?

Please Help me out.


Thanks,
Raghu



ManOLamancha

unread,
Dec 17, 2016, 7:36:29 PM12/17/16
to OpenTSDB

On Thursday, June 9, 2016 at 8:43:02 AM UTC-7, raghu...@gmail.com wrote:
Hi All,

Please redirect me if this question is already answered.

We have a cluster running opentsdb -2.2.0 version on total of 5 Nodes( 4(2-used for read/query, 2-used for data ingest, 1-optional will be turning on for running metasync)

Right now Issue we are experiencing is we have data loaded successfully into opentsdb( able to view using opentsdb UI and Grafana) but unable to query using API.




That's because the lookup requires a full metric right now and you're asking for a wildcard. Try specifying a full metric and it should work. 
Reply all
Reply to author
Forward
0 new messages