Questions tagged [grafana-templating]

Add this tag to questions regarding Grafana Templating.

188 questions
1
vote
1 answer

Data is not refreshing in Grafana dashboard but refreshing in panel

I am using Grafana and data visualization. I have multiple panels inside one dashboard and multiple panels showing the different things. I am using Influxdb as the data source. Data is coming in Grafana and I am able to visualize as well. I have…
1
vote
1 answer

How to label x-axis with non-time series data in Grafana with Elasticsearch data source?

I have a dashboard in Grafana that displays the percentage of utilization of multiple servers. The x-axis is labeled with time-series(timestamp), I want to label it as server names. This is how x-axis looks like with time series. This is what I want…
1
vote
1 answer

How to find memory usage difference in Grafana

I am working in graph panel in grafana and using elastic search as a data source. In the data source, I have memory-used with timestamp. I am trying to give notification alert when the difference is more than 100 MB. How to find memory difference…
1
vote
2 answers

How to configure a Grafana dashboard for multiple Prometheus datasources?

I'm trying to configure a Grafana dashboard for multiple Prometheus datasources. These two datasources are present in two different servers. Prometheus scrape the metrics from three jobs, prometheus itself, node-exporter for host metrics, advisor…
Kartik Chauhan
  • 2,779
  • 5
  • 28
  • 39
1
vote
0 answers

Prometheus templating in Grafana with label_values - dynamic row and panel repeat

Let’s imagine I have a metric called calories and two labels called type and name. type says whether we have fruit or vegetable, name is a name of the fruit or vegetable e.g. carrot, onion, banana, orange, apple. What I would like to do is to create…
michalrudko
  • 1,432
  • 2
  • 16
  • 30
1
vote
1 answer

How to pass value form one panel to another panel on same dashboard in Grafana?

I have a table panel with user details. If I click a row in a table I need to pass userId and display user details to another panel on the same dashboard. For that, How to pass values(userId) from one panel to another panel on the same dashboard? Is…
Naveen
  • 77
  • 3
  • 22
1
vote
1 answer

Cannot select variables from table (Postgresql)

I have Variable Names which stores all column names. Names = {“col 1”, “col 2”, “col 3”} I want to make request like SELECT $Names FROM MyTable Generated SQL: SELECT 'col 1' FROM MyTable; but I got error: Value column must have numeric datatype,…
1
vote
0 answers

Is there any tutorials on Grafana Bubble Chart Panel?

I've tried following the example given in the documentation but nothing appears for the Grafana Bubble Chart Plugin SELECT UNIX_TIMESTAMP(date) as time_sec, amt as value, CONCAT(server, ',', org) as metric FROM trade WHERE $__timeFilter(date) ORDER…
1
vote
0 answers

Use variables to select subscription and workspace for azure data source in grafana

I am trying to create a dashboard which we can switch between our environments using variables, my credentials can see all our log analytics workspaces in azure (one per environment). But I’m not sure how on the query tool how I can add these…
mattb
  • 384
  • 1
  • 4
  • 24
1
vote
1 answer

Grafana define Title value for chart

I am trying to create a dashboard. Able to generate Bar Gauge from the Prometheus data for simple query sum by (namespace) (kube_pod_container_status_running) I want to display only Namespace rather than {namespace="kube-system"}, so was playing…
roy
  • 6,344
  • 24
  • 92
  • 174
1
vote
1 answer

Grafana select query throwing error - "Found no column named time or time_sec"

I am using Grafana mysql data connector and trying to write a select query. The select query is throwing an error - "Found no column named time or time_sec" Here is the query SELECT main_id, ipaddress FROM table1;
meallhour
  • 13,921
  • 21
  • 60
  • 117
1
vote
1 answer

How can I place home dashboard as the top in list of dashboards in Grafana?

I want to place the home dashboard at the top when the user clicks on the dashboard expandable list. I have a dashboard that is set as my home and called as "Home" but while navigating, it is a bad UX to see it at the bottom of the list. To explain…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
1
vote
0 answers

Populating constant value using grafana Table panel plugin

I am trying to generate a dashboard report as below. It has 3 columns (Service uptime list, expected and actual %). I am using Table panel in Grafana and populated first 2 columns using max(up) by (service). Service list is getting populated from…
user7700138
  • 123
  • 2
  • 4
  • 13
1
vote
0 answers

How can I make a Grafana template with a variable reference another variable using Elasticsearch as a datasource?

I have a Grafana dashboard with template variables for fields and terms . When I select a field how can I make it filter the second template variable list based on the first? The first part is working when i use {"find": "fields", "type": "string"}…
Chin Park
  • 11
  • 1
1
vote
1 answer

Unable to pipe template variables in Grafana 4.5.2

In Grafana, I have a template variable which I want to pipe for running a prometheus query. query{key='value1|value2|value3'} works for me. Whereas, I have a template variable (Type: Query with Prometheus datasource and filtered with regex) called…
Balaraman L
  • 196
  • 2
  • 12