Open wattwood opened 9 years ago
Just tried /api/query/last in OpenTSDB 2.1.0 RC2, returns empty [] too.
It's been a while since I looked at this, but do you have the meta table setup and populated?
Just tried /api/query/last in OpenTSDB 2.1.3, returns empty [] too.
@comenglish What are your TSD settings regarding meta data creation?
we hit the same problem on 2.2. the /api/query/last works on our previous 2.1 deployment. after we upgrade it to 2.2, the query returns empty.
thanks, i have resolve this problem. it's not the tsdb's problem.
2016-02-23 15:15 GMT+08:00 Yuan Zhao notifications@github.com:
we hit the same problem on 2.2. the /api/query/last works on our previous 2.1 deployment. after we upgrade it to 2.2, the query returns empty.
— Reply to this email directly or view it on GitHub https://github.com/OpenTSDB/opentsdb/issues/429#issuecomment-187577949.
胡相伟
Hello @comenglish, what was the problem anyway?
Hi team, I added a new property tsd.core.meta.enable_tsuid_tracking = true
into opentsdb.conf
file, then relaunched tsdb, new data points can be retrieved through /api/query/last
without backScan
parameter. But the query with backScan
parameter still returns []. What the version I used is 2.3.0. Hope it helpful.
Every request to the http query API returns []. Version: 2.1.0RC1 e.x.: { "queries": [ { "metric": "known.key.here", "tags": { "site":"knownsite" } } ] }
curl -H "Content-Type: application/json" --data @theabove.json http://somewhere:4242/api/query/last []
I have attempted multiple existing metrics, with and without tags. All data returns as [].