Add this tag to questions regarding Grafana Templating.
Questions tagged [grafana-templating]
188 questions
1
vote
1 answer
In Grafana, how do I use a variable I made and give it as a value into a query search for a graph?
I am trying to take the value of a drop down I created in grafana, utilizing a query variable.
I am using SimpleJSON for my database.
I have tried this pattern where:
var is my variable that makes up the drop down menu
func is my function call for…
user11632040
1
vote
1 answer
Grafana - use custom variable as regex in query
we have prometheus datasource and I’m stuck at trying to use custom variable with few values as comma separated values, I wanted to use it to replace as regex in the label_values(job=~$"{eks_cluster:regex}"), but i get the error templating variables…

Amjad Hussain Syed
- 994
- 2
- 11
- 23
1
vote
1 answer
Grafana Panel Error about height and width
I am working on build grafana dashboards for my project.
I have facing the issue that some of my panels keep shows "Invalid dimensions for plot, width = 415, height = 0"
I am not sure how to fix it. I tried to increase the size of the graph,…

qing zhang
- 125
- 1
- 4
- 13
1
vote
2 answers
How to add two datasources in Grafana template variables?
How to add two datasources in Grafana template variables ? I want to pull data from two data sources from two different graphite servers using template variables.
Current grafana version is 2.5.0

Vishal Bhosale
- 51
- 3
- 11
1
vote
0 answers
Grafana Singlestat showing same value for different panels on repeating row
I created a value series and use it to take a list of values from a postgresql DB.. But when I select any value from the series, they return the same values for all the singlestat at the repeating row... Anything I did wrong?

HufflepuffBR
- 443
- 3
- 15
1
vote
1 answer
Can we create an alert from 2 different data sources in grafana?
Can we create an alert in Grafana from 2 graphs(2 data sources) and compare the values in those graphs.
For eg: I have a parameter in 1 data source, 1 parameter in another data source, I created a graph for both of them. Can I create an alert to…

naga g
- 121
- 1
- 2
- 7
1
vote
0 answers
Grafana template showing data only for remote and local hosts data but not for containers when drop down doesnot have IP showing
I have Prometheus with node-exporter, cdvisor and grafana on same instance.
I have other instances with node and cadvisor for collecting metrics to grafana.
Now I have created a grafana template that accepts the Instance name:
As We have 2…

Tara Prasad Gurung
- 3,422
- 6
- 38
- 76
1
vote
2 answers
how to visualize prometheus endpoint metrics using grafana
I have a simple Spring-Boot application (with Maven), which I've instrumented using Prometheus to collect application-specific metrics. The instrumented Prometheus metrics are exposed on http://localhost:8080/prometheus by default, but I'm not sure…

prometheusnoob
- 147
- 1
- 3
- 13
1
vote
0 answers
Delete Grafana default dashboards
I have created new dashboards in Grafana.
I need to delete the default dashboards in Grafana UI. ( E.g:- Disk Usage , Disk operations , System overview , Cross server graphs) . As there were many dashboards get listed.
In settings i don't find any…

soundararajan.c
- 2,538
- 6
- 29
- 51
0
votes
1 answer
grafana - variable in datasource
I've created several elastic datasources in Grafana Elastic-fido2-${vertical}-events
How can I load it based on the $vertical variable so I use the same visual and not one for each $vertical?
I found this on grafana forum:…

MortenB
- 2,749
- 1
- 31
- 35
0
votes
0 answers
Grafana alerts getting destroyed after successful deployment with terraform grafana provider 2.1.0
https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/rule_group#:~:text=resource%20%22grafana_rule_group%22,%7D%0A%20%20%7D%0A%7D
I am using this sample template to deploy multiple paramerts by parameterizing the key…

chandra shekhar
- 39
- 2
0
votes
1 answer
How to set Display name in Grafana for a time series line using dashboard variables?
I currently have a dashboard variable dimensionValue defined in my variables, in my dashboard. This query for this variable equates to 2 possible values : ORDS or APEX. I would like to label the lines on a time series graph based on these variables.…

Arun Muthupalaniappan
- 100
- 7
0
votes
0 answers
How to put alerting message template into grafana-values.yaml
I have Grafana 9.5.7 version, which was set up by Hilm chart.
I also have alerting rules, policies and contact points. When I tying to put my template into file, It seems like Grafana is ignoring it.
alerting:
rules.yaml:
apiVersion: 1
…

annn
- 63
- 5
0
votes
0 answers
Show last time fields were updated
I have been using Grafana for simple temperature monitoring and love it!, in my case I have the 1-wire temperature sensors which are getting fed to influxDB where it feeds the address of the sensor (e.g. serial) and the temperature value.
I did this…

user1829564
- 377
- 1
- 3
- 13
0
votes
0 answers
Normalize / Transform all Panels in a Dashboard in Grafana
I have a Grafana Dashboard with a bunch of panels of time series data - for example, some graphs of "number of searches" this week vs last week at the same time, grouped by time.
I want to normalize this data by, say, number of new users, so the…

ozhou
- 105
- 6