like I capture data in 10s intervals, which makes sense on a 1hour graph, but in a week graph frontend suffers to print that many datapoints
p
Pranay
12/08/2022, 2:36 PM
@Fernando Bellincanta Are you talking about it primarily from a dashboards for infrastructure metrics?
I think @Ankit Nayan could have more insights here
a
Ankit Nayan
12/08/2022, 2:49 PM
the default interval of plotting chart is 1min granularity and for 1 day it is 2 min and it increases based on the range selected in the period.
it affects promql queries but I don't think it affects the query builder that works on clickhouse native queries
maybe we should have better configuration for that
@Fernando Bellincanta can you please open an issue for this? Also, are you mostly using promql queries?
f
Fernando Bellincanta
12/08/2022, 2:51 PM
👍
yes basically all dashboards and alerts are built using promql
a
Ankit Nayan
12/08/2022, 2:52 PM
got it...then it can be optimised further as the query service pulls data only for promql queries