Add this tag to questions regarding Grafana Templating.
Questions tagged [grafana-templating]
188 questions
2
votes
0 answers
Grafana Elastic Histogram
I am making a graph in Grafana using Elasticsearch as datasource. I am using time series graph.
Vertical Axis: count of documents
Horizontal Axis: Latency in milliseconds
Sample Graph: Graph
As visible in above image, the latency on horizontal…

Nobody
- 21
- 1
2
votes
0 answers
Grafana. How to add values from query in alert message
Grafana 8.2.5. I have a query (from Postgre datasource)
SELECT
ts AS "time",
voltage_a,
voltage_b,
voltage_c
FROM "PowerValues"
WHERE
$__timeFilter(ts) AND
section = 'Electricity'
ORDER BY 1
I have configured an alert for this…

Igor Shevchenko
- 37
- 1
- 6
2
votes
0 answers
How can I change the axis and legend font of the graph in Grafana?
I created a dashboard in Grafana and I have a graph. The axis and legend text font of this graph are too small to read. How can I change the font size in this graph? Grafana version: 8.1.0.

snkly
- 41
- 3
2
votes
0 answers
How Do I Create A Variable That References Another Variable?
I am trying to figure out to create a variable that contains the value of another variable. One variable will contain the “root” name of an API and the actual API application name. Here’s what I mean.
Fully Qualified API Name:…

KSS
- 821
- 3
- 10
- 26
2
votes
1 answer
InfluxDB and Grafana: InfluxDB Error: Bad Request | Docker
I am trying to connect Grafana with InfluxDB, but it throws
InfluxDB Error: Bad Request
Both i have in docker, and I am using this tutorial where he wrote download and run
docker pull influxdb
docker run \
-d \
--name influxdb \
-p 8086:8086 \
-e…

Tomáš Mejzr
- 357
- 1
- 5
- 11
2
votes
1 answer
How to get Text of selected template variable in Grafana
Grafana version 7.3.3.
I have a Custom variable created on top of JSON Datasource. Below payload I used to populate the variable options $Project
[{"text": "Proj1", "value": "1"}, {"text": "Proj2", "value": "2"}].
Now for the templating query I want…

curiousguy
- 3,212
- 8
- 39
- 71
2
votes
1 answer
Disable View, Share and More menu from graph in Grafana
How to disable the View, Share and More menu from the Grafana [Panel Menu --> View, Share, More–Export CSV, JSON etc;]. I don't want to show these options to user.

Harika
- 21
- 3
2
votes
0 answers
Request count sum for last 1 hour
I have a use case where I want to set the alerts from grafana on hourly basis. In this hourly alert I want to get the request count for each API in last 1 hour and collect them and sent along with the alert. I tried different combination of…

Prateek Jain
- 260
- 1
- 3
- 15
2
votes
0 answers
Grafana showing 'no data found' only for few Relative time range filter
Hi I am working on Grafana V7.0.0 with Postgresql as DB, where data is displaying correctly when I select Today/This year(Filters with months/day/year) etc.. But when I select data filter as
Last 6 hours/ last 12 hours( FILTERS WITH TIME) showing…

Udupa
- 21
- 2
2
votes
1 answer
Order repeated panels by metric value
I have a dashboard with a repeated panel, this panel is a single value panel that shows the time till expiration of SSL certificates using the probe_ssl_earliest_cert_expiry metric from Blackbox…

Julian
- 837
- 1
- 11
- 24
2
votes
1 answer
Conditional template values in Grafana
We want to have a single drop down for parameter X and we wish to deduce the other parameters say Y and Y from the selected X value.
Is it possible in Grafana?
Did not find much content around it

amankedia
- 377
- 2
- 8
- 23
2
votes
2 answers
Temperature unit conversion in grafana
Is there a way to convert temperature from Celcius to farenheit and vice versa using grafana.
I tried manipulating f(y) value but I'm looking more for drop down user control to achieve this.
Any help is appreciated!

tourist
- 4,165
- 6
- 25
- 47
2
votes
0 answers
create dynamic dashboard of singlestat panel based on template variable
I would like to create a dynamic dashboard of my cluster nodes. this dashboard will be composed of multiple single state panels. each one shows the status and name of a node
So this what I have done:
create a template variable list_of_vm =…

cisnake
- 21
- 2
2
votes
3 answers
I am not able to set Alert for grafana graph
I have set alerts for Disk usage and now I want set alerts for Memory usage but I am not able to set it is giving error FAILED TO TEST RULE. Axes B is used and Axes C is Total.
user10694420
2
votes
2 answers
How to nest variables in grafana?
I have a simple Custom variable called route with e.g. this value:
/foo/bar,/foo/baz,/foo/baz/foo
I'm trying to map these values to some more understandable values, e.g. Custom route_names:
bar,baz,foo
Searching on google resulted in people doing…

user2084865
- 625
- 1
- 7
- 18