Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Story Points:4.2
-
Epic Link:
-
Team:SQuaRE
Description
We need to constraint the query that loads the measurenents in the monitor, right now we are reading all measurements and it is slow, the ideia is to add a filter called window and a select widget place right above the plot showing:
- Last 3 months
- Last 6 months
- Last year
- All
See time profiling for the following queries:
http://localhost:8000/measurements/?ci_dataset=cfht&metric=AM1&period=3m (160ms)
http://localhost:8000/measurements/?ci_dataset=cfht&metric=AM1&period=6m (215ms)
http://localhost:8000/measurements/?ci_dataset=cfht&metric=AM1&period=1y (268ms)