You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My dashboard has a variable with a regular expression to select different metrics.
If I use this variable in a query, special characters are escaped twice.
With a variable value of Regex=unit., the query {my_tag=~"${Regex}"} will be executed as {my_tag=~"unit\\."}, not returning any series instead of {my_tag=~"unit."}, which would return unit1, unit2 etc.
Grafana 11, Plugin 0.8.2, VictoriaMetrics 1.101.0
The text was updated successfully, but these errors were encountered:
Hello @rul-hydro !
Could you try repeating the test with Plugin 0.8.5?
I've failed to reproduce it. Here's the steps I took:
Created a variable below:
2. Created panel with VM datasource plugin and the following query:
3. Tried changing the variable options and observe state of the panel:
4. Request params in Network panel seem correct as well
My dashboard has a variable with a regular expression to select different metrics.
If I use this variable in a query, special characters are escaped twice.
With a variable value of
Regex=unit.
, the query{my_tag=~"${Regex}"}
will be executed as{my_tag=~"unit\\."}
, not returning any series instead of{my_tag=~"unit."}
, which would return unit1, unit2 etc.Grafana 11, Plugin 0.8.2, VictoriaMetrics 1.101.0
The text was updated successfully, but these errors were encountered: