Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

Fix and improve variable handling #2

Merged
merged 2 commits into from
Apr 8, 2020
Merged

Conversation

ricoberger
Copy link
Owner

  • Fix the handling of variables, where the same value was added multiple times to the list of values.
  • Add a all option, which uses .* as variable value for Prometheus.

It was possible that a variable was multiple times in the list of
values. Now we are only adding a value to the list of values if the
values doesn't already exists.
It is now possible to add an include all values option for a variable.
If this option is activated and selected, the query which uses the
variable is run with all values. For Prometheus we are passing ".*" as
value to the query which is the same as using "value1|value2|value3".
@ricoberger ricoberger merged commit ee311ec into master Apr 8, 2020
@ricoberger ricoberger deleted the fix-variable-handling branch April 8, 2020 16:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant