Add this tag to questions regarding Grafana Templating.
Questions tagged [grafana-templating]
188 questions
0
votes
1 answer
Grafana - Mean calculation from dynamic panels inside a dashboard
We have a Grafana dashboard with Prometheus as data source. Inside the dashboard, we have a row that will repeat based on the service(multi select variable) selected. The repeated rows will have panels for SLI mean.
My requirement is: I have to find…

Bergin
- 188
- 3
- 12
0
votes
1 answer
How to display Instance Tag instead of InstanceID in Grafana
Is there any way to display the AWS instance name(tag) instead of instanceId?. Any variable setup is needed for this. Just want to show the tag names of all instances. Or any way to show the instanceId using variable declaration?.
Any way to show…

AWS Coder
- 455
- 1
- 8
- 13
0
votes
1 answer
unable to import a grafana dashboard from json file using the kube-prometheus-stack helm chart
I am playing around with the kube-prometheus-stack and stumbled upon an issue which I am not sure how to approach to fix.
looking at the comfigmap-dashboards.yaml…

Arindam
- 71
- 1
- 1
- 7
0
votes
1 answer
Comparing two different date ranges in panels in Grafana
I needed a dashboard in Grafana to show two date ranges in panels. I have used interval variable and solve it. Like this:
As seen, one line shows current day and other line shows 10 day before. But we need as a date picker. I know Grafana does not…

madogan
- 605
- 7
- 11
0
votes
1 answer
Grafana Dashboard for Gatling-influxdb Setup
I am trying to import some readymade dashboard from grafana for my setup( gatling/influxdb) but those are not working somehow specially simulation parameter in grafana dashboard.if someone using same setup , can please share their json file.
below…

Perf2017
- 29
- 5
0
votes
1 answer
grafana interval variable not dynamic
I'm making dashboard and as a reference I'm using already existing one, that dashboard has $interval variable which has such a settings .
and it used for example in the pane title, like this Top routes for [$interval], and in actual dashboard it…

Bogdan Dubyk
- 4,756
- 7
- 30
- 67
0
votes
1 answer
Grafana Cloud: dividing two queries shows "no data"
In a Grafana dashboard panel, I have two…

Ken Tsoi
- 1,195
- 1
- 17
- 37
0
votes
2 answers
Grafana Dashboards list pods within namespace not working
I have grafana Dashboards, Pods drop down coming None within namespace, however we have pods running in namespace and pulling data prometheus.
Screenshot:
Query:
"datasource": "Prometheus",
"definition": "",
…

Vidya
- 179
- 1
- 2
- 12
0
votes
1 answer
How to Populate Variables for Grafana Dashboard Template in Jsonnet
I'd like to deploy and manage many similar Grafana dashboards with jsonnet/grafonnet using a single template where variables are substituted in each dashboard instance.
A simplified example of my (not working) approach so far looks like this:
#…
0
votes
0 answers
Update Grafana panel plugin on data received using React&TypeScript
I'm trying to make a custom panel plugin for Grafana 7.5.2 using TypeScript and React.
At the moment I'm traying to understand the mechanics of updating the front-end (React) when new data is available (in 7.5. data is stored in a DataFrames and…

MetalHead
- 181
- 1
- 15
0
votes
1 answer
Grafana variable query is not retrieving all endpoints' from a Prometheus pod target (but gets some of them)
While maintaining a simple set of a Grafana and a Prometheus pod, plus a few others, within a cluster on Azure Kubernetes Services (AKS)—I ran into an issue where a "instance" variable query set up in Grafana only retrieves any data from several,…

Jackalakalaka
- 91
- 1
- 7
0
votes
0 answers
Installing Grafana custom plugins
Please, I installed grafana toolkit to scaffold building custom plugins.
But I don't seem to find the plugins installed on the dashboard.

ido evergreen
- 91
- 3
- 9
0
votes
1 answer
How to create a dropdown variable with tag values in a Grafana dashboard?
I am using Grafana and InfluxDB with K6. My tests are generating data for some metrics and I am always defining a test-wide tag testrunname which is set to a different value every time.
In Grafana, I want to add a variable in my dashboard, and I…

Andry
- 16,172
- 27
- 138
- 246
0
votes
0 answers
How can I get the number of report times by PromQL in Prometheus
I am making a monitor about Server starting times.In my imagine ,when the Server start,Prometheus will get a report if my mtrics do something like "metrics.Set(1);",so I could get the number of starting times by count(metrics{}) on Grafana.
But …

xjtd
- 1
- 1
0
votes
0 answers
Copy files inside a pod from helm chart taken directly from helm repository
I have taken a helm chart : grafana directly from helm-repository. Now i need to copy a file inside grafana-pod at a specific location. I can do it by :
kubectl cp :
But i need to automate…

medgai
- 82
- 4
- 13