Improve timeseries documentation

Hopefully the docs are now more usable for a beginner
This commit is contained in:
emanuele-f 2019-03-05 19:27:31 +01:00
parent f66a2d4218
commit 9d09d2e616
7 changed files with 333 additions and 166 deletions

View file

@ -50,7 +50,7 @@ local driver = ts_utils.getQueryDriver()
local latest_tstamp = driver:getLatestTimestamp(tags.ifid or -1)
local options = {
max_num_points = tonumber(_GET["limit"]),
max_num_points = tonumber(_GET["limit"]) or 60,
initial_point = toboolean(_GET["initial_point"]),
with_series = true,
target_aggregation = ts_aggregation,