Commit 8a8de91a by bergquist

Merge branch 'andrewhowdencom-master'

parents c73e86e5 2fdb47ae
......@@ -72,4 +72,9 @@ label_values(hostname)
You can also use raw queries & regular expressions to extract anything you might need.
### Using templated variables in queries
When the `Include All` option or `Multi-Value` option is enabled, Grafana converts the labels from plain text to a regex compatible string.
Which means you have to use `=~` instead of `=` in your Prometheus queries. For example `ALERTS{instance=~$instance}` instead of `ALERTS{instance=$instance}`.
![](/img/v2/prometheus_templating.png)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment