Currently public dashboards do not support template variables. However, we are in discussion on providing that support, if feasible. Answer from lucychen1 on community.grafana.com
Grafana
community.grafana.com › dashboards
Why cannot I make a dashboard public? What are template variables? - Dashboards - Grafana Labs Community Forums
January 26, 2024 - What Grafana version and what operating system are you using? v10.2.3 MacOS Sonoma 14.2.1 What are you trying to achieve? Make a dashboard public. How are you trying to achieve it? What happened? A letter appeared saying the dashboard has template variables on it.
GitHub
github.com › grafana › grafana › issues › 67346
Public dashboards: template variables support · Issue #67346 · grafana/grafana
April 27, 2023 - area/public-dashboardsteam/grafana-dashboardsDashboards squadDashboards squadtype/epicIssue made of smaller issuesIssue made of smaller issuestype/feature-request · natellium · opened · on Apr 27, 2023 · Issue body actions · Implement support for template variables in public dashboards ·
Author: grafana
Public Dashboards: fix for tamplate variables
But it would not break the dashboard and make it unusable. Maybe in the "public dashboard" share settings, to specify template variable values. No. Public dashboards did not work properly before ... area/dashboard/templatingarea/public-dashboardsteam/grafana-sharingtype/duplicatetype/feature-request More on github.com
Variables not working on public dashboards
I use grafana-server Version 10.4.0 and OS: Ubuntu 22.04.4 LTS. I have a public dashboard that I want to use variables functionality with it. I saw that currently Grafana does not support variables function in public dashboards, so I basically added data links (${__url}?var-location=${__va... More on community.grafana.com
Problem on creating Public Dashboard
I am trying to create a public dashboard in Grafana using a PostgreSQL data source with template variables. How are you trying to achieve it? I have designed a dashboard that uses PostgreSQL as the data source and includes template variables to make it dynamic. I want to make this dashboard public ... More on community.grafana.com
Bug: pubdash creation with template variables
After the modal redesign, we decided to let the users create a public dashboard despite the dashboard has template variables, just warning them. The reason is that maybe just one panel is using it ... More on github.com
03:28
Dashboard variables integration & muting in transformations - YouTube
02:25
Using template variables in Grafana Pyroscope - YouTube
Grafana : Dashboard Variables - YouTube
06:31
#Grafana Custom Variables | Grafana Variables - YouTube
Grafana Variables and Templates with Prometheus | Introduction
01:05:28
Guide to Grafana 101: Interactivity, Templating & Sharing - YouTube
Grafana
community.grafana.com › dashboards
Template variables on public dashboard - Dashboards - Grafana Labs Community Forums
January 28, 2026 - Hello Grafana’s community! I found myself sharing a public dashboard, after the setup I noticed that template variables are not supported. Why so? Is it a security concerned? I believe it would be a great feature being able to use those variables on public dashboards, same a the internal dashboards.
Reddit
reddit.com › r/grafana › public dashboards and variables
r/grafana on Reddit: Public dashboards and Variables
June 2, 2025 - r/grafana · • · 1y ago · IT-canuck · newbie-ish question.... I have a set of dashboards which rely heavily on variables to filter views, etc. I want to make these dashboards Public ("Share Externally") however template variables are not supported. Reworking my dashboards to remove the variables would take a while.
GitHub
github.com › grafana › grafana › issues › 74151
Public Dashboards: fix for tamplate variables · Issue #74151 · grafana/grafana
August 31, 2023 - But it would not break the dashboard and make it unusable. Maybe in the "public dashboard" share settings, to specify template variable values. No. Public dashboards did not work properly before ... area/dashboard/templatingarea/public-dashboardsteam/grafana-sharingtype/duplicatetype/feature-request
Author: grafana
Grafana
community.grafana.com › dashboards
Variables not working on public dashboards - Dashboards - Grafana Labs Community Forums
October 7, 2024 - I saw that currently Grafana does not support variables function in public dashboards, so I basically added data links (${__url}?var-location=${__value.location}) to my panel view to make the location variable work.
OneUptime
oneuptime.com › home › blog › how to implement grafana dashboard templates
How to Implement Grafana Dashboard Templates
January 28, 2026 - Create base templates that specialized dashboards extend. flowchart TB subgraph Base B[base-service.jsonnet] end subgraph Specialized A[api-service.jsonnet] W[worker-service.jsonnet] D[database-service.jsonnet] end B --> A B --> W B --> D · // base-service.libsonnet local grafana = import 'grafonnet/grafana.libsonnet'; { // Base configuration baseConfig:: { datasource: 'Prometheus', refresh: '30s', timeFrom: 'now-6h', }, // Base variables baseVariables:: [ grafana.template.datasource( name='datasource', query='prometheus', current=$.baseConfig.datasource, ), grafana.template.new( name='enviro
AWS
docs.aws.amazon.com › amazon managed grafana › user guide › use your grafana workspace › working in grafana version 8 › templates and variables
Templates and variables - Amazon Managed Grafana
When you change the value by using ... of the dashboard, your panel’s metric queries reflect the new value. These can be especially useful for administrators who want to allow viewers to adjust visualizations quickly but do not want to give them full editing permissions. Grafana viewers can use variables. By using variables and templates, you can ...
OneUptime
oneuptime.com › home › blog › how to implement grafana dashboards with variables and templating
How to implement Grafana dashboards with variables and templating
February 9, 2026 - Grafana supports several variable types beyond query variables. Custom variables let you define a manual list of values: Name: environment Type: Custom Custom options: production,staging,development · Constant variables store values that don't change but can be referenced throughout the dashboard:
Grafana
community.grafana.com › dashboards
Problem on creating Public Dashboard - Dashboards - Grafana Labs Community Forums
December 2, 2024 - I am trying to create a public dashboard in Grafana using a PostgreSQL data source with template variables. How are you trying to achieve it? I have designed a dashboard that uses PostgreSQL as the data source and includes template variables to make it dynamic. I want to make this dashboard public ...
OneUptime
oneuptime.com › home › blog › how to create grafana dashboard templates
How to Create Grafana Dashboard Templates
February 2, 2026 - Deploy dashboard templates as Kubernetes ConfigMaps for GitOps workflows: # dashboard-configmap.yaml # Contains the dashboard JSON as a ConfigMap for Kubernetes deployment apiVersion: v1 kind: ConfigMap metadata: name: grafana-dashboard-service-monitoring namespace: monitoring labels: grafana_dashboard: "1" data: service-monitoring.json: | { "title": "Service Monitoring", "uid": "service-monitoring", "templating": { "list": [ { "name": "namespace", "type": "query", "query": "label_values(kube_pod_info, namespace)" } ] }, "panels": [ { "title": "Request Rate", "type": "timeseries", "targets": [ { "expr": "sum(rate(http_requests_total{namespace=\"$namespace\"}[5m]))" } ] } ] }
Huihoo
docs.huihoo.com › grafana › 2.6 › reference › templating › index.html
Templating - Grafana Documentation - Huihoo
They can all be used to create dynamic variables that you can use throughout the Dashboard, but they differ in how they get the data for their values. Note: The Query type is Data Source specific. Please consult the appropriate documentation for your particular Data Source. Query is the most common type of Template variable. Use the Query template type to generate a dynamic list of variables, simply by allowing Grafana to explore your Data Source metric namespace when the Dashboard loads.