Questions tagged [grafana-variable]

245 questions
0
votes
0 answers

Connecting grafana and prometheus data from Docker

I'm using grafana and prometheus as containers and after running docker-compose up -d in cmd I am getting this error in cmd. for ch4_grafana_1 Cannot start service grafana: Ports are not available: listen tcp 0.0.0.0:3000: bind: Only one usage of…
0
votes
1 answer

Grafana:change the role of an existing user

I have created few Grafana users using curl command. Here is the command i used. curl -XPOST -H "Content-Type: application/json" -d '{ "name":"user1@graf.com", "email":"user1@graf.com", "password":"userpassword", "role": "Admin" }'…
shiak
  • 1
  • 1
0
votes
1 answer

Grafana Dashboard for Jmeter

I am new to InfluxDB & Grafana. Currently we are performing load testing with Jmeter (5.2.1) and also utilizing InfluxDB (2.0) & Grafana for monitoring. The set up goes like - 1 Controller machine and 8 remote host machines (LGs). Though we are…
Nike
  • 23
  • 1
  • 10
0
votes
1 answer

How to define a tags / value query in Grafana 7.4?

I am having some trouble understanding the concept of Value groups/tags in Grafana 7.4.x with MySQL as a data source. My main query gets the Countries SELECT NAME as __text, id AS __value from countries The tags query gets the…
merlin
  • 2,717
  • 3
  • 29
  • 59
0
votes
1 answer

Use list in Grafana Variables

I have different Grafana dashboards build on Graphite datasources. And add variable with such values: grp1,grp2,grp3,grp4 Now I can choose any group in dropdown menu and it works perfectly Also I can write in the query body something…
Mikhail_Sam
  • 10,602
  • 11
  • 66
  • 102
0
votes
1 answer

Grafana query parsing error with label_values

There are two CouchDB servers and I am using variable in Grafana to visualize some metrics, issue is query with variable end up with wrong prasing: couchdb_server_node_info{instance="10\\.10\\.10\\.199:9984"} I do not why it includes the slash,…
MK83
  • 1,652
  • 1
  • 11
  • 11
0
votes
1 answer

Use variable in MYSQL query Grafana Returns Column Name instead of metrics

I have created a variable named $mypair in Grafana, I have added some options manually and I can view those in dashboard. I select an option (example: AUDCAD). In query part of Graph settings I am entering the below query: SELECT…
0
votes
1 answer

Grafana Template Variables Query Giving different results in different version (Grafana 5.0 vs Grafana 7.0)

I am using template variable queries to assign a variable in Grafana. SELECT * FROM jmeter WHERE application =~ /$tag_left/ ORDER BY time asc LIMIT 1 Result JSON of this query…
0
votes
3 answers

Regex to get value from by asserting conditions on the value

I have a regex which takes the value from the given key as below Regex .*key="([^"]*)".* InputValue key="abcd-qwer-qaa-xyz-vwxc" output abcd-qwer-qaa-xyz-vwxc But, on top of this i need to validate the value with starting only with abcd- and…
CdVr
  • 323
  • 3
  • 15
0
votes
2 answers

Grafana variable - Interval mutiplier

I am drawing a graph in grafana where I am getting the rate of one counter and subtracting it from rate of another counter. I am using the Interval Variable in the graph. Now when I want to use 5m as interval, I want the rate to be multiplied…
Sudhanshu Gupta
  • 2,255
  • 3
  • 36
  • 74
0
votes
1 answer

How to change grafana theme (dark|light) kubernetes deploy

How to set grafana theme in kubernetes deploy file. Is there any env variable supported. Thanks
techpro
  • 71
  • 1
  • 9
0
votes
1 answer

Grafana Change Metric Dynamically

I'm using prometheus and grafana. I wanted to change the metric based on the Source as a variable. so If the source is source1 then I want the first metric else the second metric src1_request1_counter1{job='$job', instance=~"localhost:8080"}…
Rrrrr
  • 136
  • 1
  • 7
0
votes
0 answers

Data overwrite in grafana gauge

I am using Grafana Dashboard to visualize the postgreSQL data. There is dropdown list on the dashboard & data is populated on the gauge with the selection of element from dropdown list and it overwrite the previous data as shown in the image. How…
Usman
  • 1,983
  • 15
  • 28
0
votes
1 answer

How to get the data of Legend panel in grafana, eg min, max, avg of variable?

Is there any way to get the min, max data shown in Legend panel of grafana? I have to extract those data for more than 600 variables over time so need any API or query or anything which will reduce manual efforts. Let me know if any data…
Apoorv Singh
  • 3
  • 2
  • 4
0
votes
1 answer

Visualizing all tag values

I'm looking for a way to visualize all the available values for one specific tag ("pair" in the picture) I understand that I can manually create individually, but I'm not sure if there's a better for this Thanks in advance
nkt
  • 383
  • 1
  • 6
  • 12