Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental: increase max frequency to 1 hour #645

Merged
merged 1 commit into from
Mar 14, 2024
Merged

Conversation

mem
Copy link
Contributor

@mem mem commented Mar 5, 2024

Allow the maximum interval between successive check runs to be up to 1 hour. This will break some dashboards, because there are built-in assumptions about the maximum value being 2 minutes. In particular, it's going to be necessary to adjust the value we use for ranges, which is hard-coded to 5 minutes. If we change the queries, we still need to adjust values in Grafana, to prevent sampling values at intervals less than the frequency. This is going to be particularly visible in queries that use increase, rate and similar functions. Because of that, this is mostly about adding backend support for issue #318.

Allow the maximum interval between successive check runs to be up to 1
hour. This will break some dashboards, because there are built-in
assumptions about the maximum value being 2 minutes. In particular, it's
going to be necessary to adjust the value we use for ranges, which is
hard-coded to 5 minutes. If we change the queries, we still need to
adjust values in Grafana, to prevent sampling values at intervals less
than the frequency. This is going to be particularly visible in queries
that use `increase`, `rate` and similar functions. Because of that, this
is mostly about adding backend support for [issue #318](grafana/synthetic-monitoring-app#318).

Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem requested a review from a team as a code owner March 5, 2024 16:06
@mem mem merged commit 9e9c6a1 into main Mar 14, 2024
4 checks passed
@mem mem deleted the increase-max-runtime-to-1h branch March 14, 2024 02:34
mem added a commit that referenced this pull request Mar 14, 2024
* Experimental: increase max frequency to 1 hour (#645)
* Feature: switch to pusher v2 by default (#655)
* Clean up scraper factory (#656)
* Chore(deps): Bump google.golang.org/protobuf in /scripts/go (#657)

Signed-off-by: Marcelo E. Magallon <[email protected]>
@mem mem mentioned this pull request Mar 14, 2024
mem added a commit that referenced this pull request Mar 14, 2024
* Experimental: increase max frequency to 1 hour (#645)
* Feature: switch to pusher v2 by default (#655)
* Clean up scraper factory (#656)
* Chore(deps): Bump google.golang.org/protobuf in /scripts/go (#657)

Signed-off-by: Marcelo E. Magallon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants