Message templating | Grafana Labs
grafana.com › docs › grafanaFrom Alertmanager drop-down, select an external Alertmanager to create and manage templates for the external data source. Otherwise, keep the default option of Grafana. Click Add template. In Name, add a descriptive name. In Content, add the content of the template. Click Save template button at the bottom of the page.
InfluxDB templates | Grafana Labs
grafana.com › influxdb › influxdb-templatesThe first syntax is easier to read and write but does not allow you to use a variable in the middle of a word. When the Multi-value or Include all value options are enabled, Grafana converts the labels from plain text to a regex compatible string. Which means you have to use =~ instead of =. Example dashboard: InfluxDB Templated Dashboard
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.