The aggregation interval is independent of the scrape interval. The current minimum interval is 60s and is dynamically adjusted based on the time range for long intervals.
v
Vladislav Sterzhanov
03/05/2024, 8:15 PM
@Srikanth Chekuri can you please point to the part of code where one would need to make adjustments in order to make the minimal interval go down to 1s in a self-hosted version? Thanks much!
s
Srikanth Chekuri
03/06/2024, 1:39 AM
Curious why do you want to do that? The step interval is auto-adjusted based on the time range selected like how Prometheus does and recommends.
v
Vladislav Sterzhanov
03/06/2024, 7:49 PM
Yep, adjusting it dynamically makes sense but the lower bound of 60s is too high for some of our metrics. There is a set of them where the granularity of at least 1s is required for us to get an adequate picture of the system's behavior.