Questions tagged [grafana-dashboard]

37 questions
13
votes
2 answers

Define default value for Grafana dashboard variable

I have defined a variable in a Grafana dashboard through Grafana dashboard settings Variable is of "Custom" type. I want this variable having a default value when dashboard is opened. How can I set a default value ?
RandomCoder
  • 6,606
  • 6
  • 22
  • 28
1
vote
1 answer

Grafana variables - how to display selected value and label

I have a Grafana dashboard variable named items. The variable is filled with data coming from an API using JSON API data source. My API response is an array of objects containing two properties: id and name and I have set the name to be the label of…
1
vote
2 answers

How can I group many values for a variable in grafana?

I have an SQL table with columns: name and user type. Name type John student Tom teacher Peter teacher Steve student I want to have a grafana variable where I can select a user "type" and the variable passes the value of all the…
Shobhit Kumar
  • 626
  • 1
  • 5
  • 21
1
vote
0 answers

Grafana /api/dashboards/uid/ result miss datasource id

When I use grafana /api/dashboards/uid/xyz123 API, I get all definitions of dashboard xyz123, except the datasources’ ids. It returns dashboard json with “datasource”: null, If I export it via GUI (share->export) it does have datasources’ ids. Pls…
1
vote
0 answers

Grafana dashboard for grafana internal metrics

I've found out that grafana exposes metrics in prometheus format by /metrics endpoint. # HELP access_evaluation_duration Histogram for the runtime of evaluation function. # TYPE access_evaluation_duration…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
1
vote
2 answers

How can I color individual points with Grafana?

I am basically trying to color my points separately based on value, I have tried setting up thresholds but its not working. I have data which ranges from 0-4 and I want to color each point separately based on what the value is E.G - 1 = Blue, 2 -…
alyn000r
  • 546
  • 2
  • 8
  • 19
1
vote
1 answer

How To Import Multiple Grafana Dashbords via A Helm Chart

Is there a way to install multiple Grafana dashboards into the same folder via Helm? I have created a configMap --- apiVersion: v1 kind: ConfigMap metadata: name: grafana-dashboards labels: grafana_dashboard: "1" data: kubernetes.json:…
Metro
  • 873
  • 8
  • 19
1
vote
0 answers

How to pass data in Grafana Variables and link it with dashboard API's

So I have a grafana variable .And from the API's it returns alist of ID's. So I have this api that I have linked with a dashboard panel and it requires an id to return a value based on an mrd id. eg. /mrd-stats/?mrdid=23982372489198 . So I don't…
1
vote
0 answers

Add Grafana Variables dropdown to specific panel

I have a grafana variable which is displayed at the top of dashboard. I want this variable dropdown only to appear in a specific panel .eg some where inside the panel .Not at the top of the dashboards. as I have several panels in that dashboard and…
1
vote
0 answers

How to produce multiple similar Grafana dashboards for kube-prometheus-stack? What does makes the collision that I see only one from the bunch of them

I have updated the standard dashboard yaml to those who iterates over the configuration: {{- /* Generated from 'apiserver' from…
1
vote
0 answers

Stat showing label value in Grafana 8

I have Prometheus data like this browser_login_test_duration_seconds{host="https://host-a",status="success"} 7.703323435 browser_login_test_duration_seconds{host="https://host-b",status="failed"} 4.19048497 I use the data to graph the average time…
bbgobie
  • 31
  • 2
0
votes
0 answers

Grafana fail metrics in dashboard

We have some incomplete data in our CPU panel, verifying that this happens only in a virtual machine and only in some metrics such as CPU, we updated the version of windows_exporter but did not solve. There has been no change to the query is…
0
votes
1 answer

Facing an issue with time ranges in queries

Can someone help me understand how to query for different specific time ranges in Grafana? I'm using count_over_time, and I want to subtract the count of systems that sent the lines "Timestamp" in the last hour from the count of systems that sent…
0
votes
1 answer

How to create link to other dashboard on Grafana?

I have created a dashboard table in Grafana to monitor CPU, RAM and I want to access detailed info dashboard by clicking on IP address of the VM. I created a data link url for next dashboard but it is redirecting to single static IP on all IP…
0
votes
0 answers

Grafana grouping to matrix by timestamp

I am using Grafana and trying to create a pivot using the timestamp as column. The first Panel shows the row data (I don't have much data yet). They are aggregated by week and the information that I need are the resname, value, and timestamp. The…
Simone
  • 85
  • 1
  • 9
1
2 3