Templates and variables | Grafana Labs
grafana.com › docs › grafanaGrafana Viewers can use variables. Variables and templates also allow you to single-source dashboards. If you have multiple identical data sources or servers, you can make one dashboard and use variables to change what you are viewing. This simplifies maintenance and upkeep enormously. Templates A template is any query that contains a variable.
Message templating | Grafana Labs
grafana.com › docs › grafanaGrafana’s default templates are based on the Go templating system where some fields are evaluated as text, while others are evaluated as HTML (which can affect escaping). The default template, defined in default_template.go, is a useful reference for custom templates.
template | Grafana Labs
grafana.com › clients › promtailtemplate stage. The template stage is a transform stage that lets use manipulate the values in the extracted map using Go’s template syntax.. The template stage is primarily useful for manipulating data from other stages before setting them as labels, such as to replace spaces with underscores or converting an uppercase string into a lowercase one.