Commit 994212b5 authored by Amy Qualls's avatar Amy Qualls

Merge branch '220390-variables-key-syntax' into 'master'

Document characters allowed for dashboard templating variables

Closes #220390

See merge request gitlab-org/gitlab!34328
parents 8132dd48 bfe91df4
......@@ -747,7 +747,7 @@ Templating variables can be used to make your metrics dashboard more versatile.
[dashboard YAML](#dashboard-top-level-properties).
Define your variables in the `variables` key, under `templating`. The value of
the `variables` key should be a hash, and each key under `variables`
defines a templating variable on the dashboard.
defines a templating variable on the dashboard, and may contain alphanumeric and underscore characters.
A variable can be used in a Prometheus query in the same dashboard using the syntax
described [here](#using-variables).
......
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