OpenTSDB - Get the last data point for a metric timeseries before a given timestamp

399 Views Asked by At

Use case

I want to find the last data point for a metric timeseries just before or on a given timestamp from OpenTSDB.

So far I tried

api/query/last HTTP API

It did provide the last data point for a metric after changing opentsdb config and adding

tsd.core.meta.enable_realtime_uid = true
tsd.core.meta.enable_realtime_ts = true
tsd.core.meta.enable_tsuid_incrementing = true
tsd.core.meta.enable_tsuid_tracking = true

I there any way to query it with a timestamp, or any other api/way to get the desired result.

0

There are 0 best solutions below