grafana/dashboard-linter

Multi-select best practices

rgeyer opened this issue · 1 comments

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"

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