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

Any query having a multi=true template variable should be aggregated #81

Open
mshahzeb opened this issue Jun 28, 2022 · 0 comments
Open

Comments

@mshahzeb
Copy link
Contributor

All the queries that use a template variable which allows multiselection should be aggregated:

  • Either by using an aggregator function in PromQL or LogQL
  • Or by using an aggregation option from the Grafana panel options

This will avoid a situation where we see multiple repeating values unintentionally in a panel like "Single stat".

This rule should also be limited to stat or panels that are used to show aggregated stats.

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