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

Avoid empty intervals from smoothing below interval_min #20

Open
tilsche opened this issue Jul 15, 2022 · 1 comment
Open

Avoid empty intervals from smoothing below interval_min #20

tilsche opened this issue Jul 15, 2022 · 1 comment

Comments

@tilsche
Copy link
Contributor

tilsche commented Jul 15, 2022

Currently, flex requests with smoothing with a interval_max close to the regular update interval can lead to empty intervals (count=0) even with relatively regular updates.

This should be prevented, as count=0 intervals are interpreted by metricq-grafana as "missing data" and emptied to show a gap rather than interpolate with LAST semantic.

The smoothing should instead extend the empty intervals until they contain data up to the length of min_interval.

This is also a trigger for some forms of metricq/metricq-webview#173

@tilsche
Copy link
Contributor Author

tilsche commented Nov 28, 2022

@bmario coould you maybe resurrect https://github.com/metricq/hta/tree/experimental-flex-tests

That would be a foundation for fixing this issue. That we ran into again today :/

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

No branches or pull requests

1 participant