I'm trying to pass custom variables to prometheus via grafana variables.
The values I've got setup in grafana are as follows:
.+(as a customAllvariable)eu.+us.+
The variables are used in a query such as:
some_metric{availability_zone=~"$az", ...}
The All variable works as expected, and the raw eu-.+ values etc when put directly into the query also work fine - but when the variable is assigned via a dropdown, no metrics are returned. eg:
some_metric{availability_zone=~"eu.+", ...}
..correctly matches all metrics with labels such as availability_zone="eu-west-1"
I've tried escaping and without in the custom values, but in for both of the custom values no metrics are returned.
What is wrong here?
