observatorium / up

a simple Prometheus and Loki API testing tool
Apache License 2.0
24 stars 23 forks source link

Update default step value to 5min #20

Closed yeya24 closed 4 years ago

yeya24 commented 4 years ago

Signed-off-by: Ben Ye yb532204897@gmail.com

Update the default step value from 30s to 5min.

30s is a very small resolution for the range queries we might want to run (duration is 2w), and it will get the error below:

{"status":"error","errorType":"bad_data","error":"exceeded maximum resolution of 11,000 points per timeseries. Try decreasing the query resolution (?step=XX)"}

5min seems a good resolution for 2w queriers. But maybe we can increase it more since if I run 2w queries in Prometheus console, the step I got is 4838s, but I think this resolution is too big.

squat commented 4 years ago

sounds fine to me, I am not opposed to it. Keep in mind of course that this is a default and we can override it in the flags in a manifest