Open rajsarkapally opened 5 years ago
Use the api/query/last don't set tsd.core.meta.enable_tsuid_tracking or tsd.core.meta.enable_realtime_ts . I can work when use the format below, { "queries": [ { "metric": "XBX" , "tags": { "cluster": "XlX", "table": "XXX" } } ], "resolveNames":true, "backScan":24 }
Hope it helps you
TSDB version: 2.4.0RC2 built at revision e1937d3b
Due to performance reasons, we did not set tsd.core.meta.enable_tsuid_tracking or tsd.core.meta.enable_realtime_ts
The last datapoint API is working with tsuid as shown below /api/query/last?tsuids=XXXXX&back_scan=2400&resolve=true&use_meta=false
But the last datapoint API is returning empty result when used metric name and tags as below /api/query/last?timeseries=metric1{device=host1}&back_scan=2400&use_meta=false