Fixes ts partially seen (#7913)

This commit is contained in:
Matteo Biscosi 2023-10-16 15:47:41 +00:00
parent f246bd4512
commit 80038a8faf
10 changed files with 89 additions and 40 deletions

View file

@ -84,6 +84,7 @@ function ts_data.get_timeseries(http_context)
local ts_aggregation = http_context.ts_aggregation
local options = {
min_num_points = 2,
max_num_points = tonumber(http_context.limit) or 60,
initial_point = toboolean(http_context.initial_point),
epoch_begin = tonumber(http_context.epoch_begin) or (os.time() - 3600),