You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we are running TB PE v3.6.2 and we would like to show time-series data in graphs to user in our mobile application. But we have noticed that REST API request "getTimeseries" in telemetry-controller always returns only 100 points. Is there any configuration or possible way how to increase amount of points returned in single request?
We need to show graph from past year (12 months per approx. 30 days/month) == approx. 365 points per API requests (ideal use-case).
We could do 12 requests for every month, but this slows down whole "loading" phase of application.
Thank you for your help
The text was updated successfully, but these errors were encountered:
If you don't set the limit on the number of timeseries retrieved in the API call, it defaults to 100 records. You can set a higher limit with &limit=400 URL parameter.
Thank you,. It indeed worked. I though it was not relevant to this as it stated it was "available" only for aggregation function "None", but it seems to work for AVG as well or at least It did not throw error for fetching data with ts range of several days and many thousands of datapoints.
Anyway thank you for your help.
One more question, if I enter start-stop TS + interval_time, then set higher limit (to lets say 400). Is 'agg' parameter used or does it simply return value associated with specific timestamp (start_timestamp+interval_time).
Based on the information, with custom 'limit', the 'agg' function is not used. But REST API does not throw any error if I set 'agg' function other than 'NONE'.
Hello,
we are running TB PE v3.6.2 and we would like to show time-series data in graphs to user in our mobile application. But we have noticed that REST API request "getTimeseries" in telemetry-controller always returns only 100 points. Is there any configuration or possible way how to increase amount of points returned in single request?
We need to show graph from past year (12 months per approx. 30 days/month) == approx. 365 points per API requests (ideal use-case).
We could do 12 requests for every month, but this slows down whole "loading" phase of application.
Thank you for your help
The text was updated successfully, but these errors were encountered: