Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Stat should not be only on last chunk of data #158

Open
MiniPlayer opened this issue Aug 28, 2018 · 0 comments
Open

Stat should not be only on last chunk of data #158

MiniPlayer opened this issue Aug 28, 2018 · 0 comments
Labels
backend Back work enhancement New feature or request logisland

Comments

@MiniPlayer
Copy link
Contributor

MiniPlayer commented Aug 28, 2018

USER STORY

Current behaviour: Stat are calculated using last chunk of data which can be only one point...
Expected behaviour: Stat should be calculated on all historiacal data or at least on a wider range than last chunk. One year for example. Maybe this should be configurable as for timeseries requests.

One example to do this efficiently would be to precalcul agregation in chunks while injecting and build functions to calculate final agregations on the fly using those when requested.

ACCEPTANCE CRITERIA

DEFINITION OF DONE

  • Code builds without warnings (technical task)
  • Code unit tested (technical task)
  • Code is reviewed by a peer colleague
  • Documentation updated (user story)
  • Build pushed to demo server (user story)
@MiniPlayer MiniPlayer added backend Back work enhancement New feature or request logisland labels Aug 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backend Back work enhancement New feature or request logisland
Projects
None yet
Development

No branches or pull requests

1 participant