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
To adapt the granularity when fetching measures, the server could crunch once and for all the measures of a stream over a set time span, saving the result in DB.
This way, if a User wants to display measures taken over a large period, we could avoid flooding him with too much data points.
Proposition
Create a new model, extending Measure, with 2 timestamps to define the covered time span and several condensate values (avg, med, min, max, ...?)
Adapt the Measure controller and its routes
The text was updated successfully, but these errors were encountered:
Idea
To adapt the granularity when fetching measures, the server could crunch once and for all the measures of a stream over a set time span, saving the result in DB.
This way, if a User wants to display measures taken over a large period, we could avoid flooding him with too much data points.
Proposition
The text was updated successfully, but these errors were encountered: