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

Multi-select best practices #67

Open
rgeyer opened this issue Jun 6, 2022 · 1 comment
Open

Multi-select best practices #67

rgeyer opened this issue Jun 6, 2022 · 1 comment

Comments

@rgeyer
Copy link
Collaborator

rgeyer commented Jun 6, 2022

When a template variable has multi set to true, it should also have an allValue defined as .+. This check is performed on job and instance, but always requires those template vars to be multi select.

When a query includes a template variable that is multiselect, it must always be queried with regex matching, I.E. some_label=~"$some_template_var"

@tomwilkie
Copy link
Contributor

Yeah this could be a good generic test, nice idea.

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

2 participants