Relative Content

Tag Archive for grafana

Grafana dashboards are not retrieved it from a ConfigMap

I am deploying Grafana via the kube-prometheus-stack Helm Chart. I initially configured the number of replicas (global.replicas) to 1. Everything works find and I can successfully render the dashboards on Grafana. However, once I increase the number of replicas to, let’s say 3, The Dashboards are not displayed and I got in the logs the following error:

In Grafana How To Create and Fill a 2D matrix

First of all I am a beginner in Grafana. I have a data that is grouped by pos_x, pos_y values and I want to create a table such that it is a matrix as n by n where n is a fixed number and I want to fill the values regarding their pos_x and pos_y values. I have tried this with grouping matrix transformation but the matrix pos_x and pos_y values do not start from 0 and increase 1 by 1 and only show the present pos_x and pos_y groups. I couldn’t install XY charts and right now I have no idea how to handle this. I can save pos_x and pos_y values as fields if needed as well.

How to output custom HTML+JS+CSS from a SQL query field in Grafana?

The table field stores summary information in the form of large text, which I would like to break into logical sections and hide under a spoiler.
Therefore, I see a solution in the form of preparing the HTML text before writing it to the table. But the problem is that I can’t figure out how to output this HTML to grafana. Maybe someone has solved a similar problem or has a hint on how best to solve my problem? Thank you very much in advance for your answers.
As a result, I would like to get a text structure like this:

How to add Text Variable value to the downloaded CSV file name

We have a panel by name “Block Load Profile”. User needs to input a value in a text variable and the related data is filtered on the report. Today when user downloads this data using Panel menu > Inspect > Data > Download CSV, the CSV file has date appended to the panel name like “Block Load Profile-data-2024-08-02 11_47_08”.

Grafana – Need to add Text Variable value to the downloaded CSV file name

We have a panel by name “Block Load Profile”. User needs to input a value in text variable and the related data is filtered on the report. Today when user downloads this data using Panel menu > Inspect > Data > Download CSV, the CSV fie has date appended to the panel name like “Block Load Profile-data-2024-08-02 11_47_08”.
We would like to add the value of Text Variable (passed by user as a filter) in the file name so for above example the filename will be “Block Load Profile-data-AL0100002-2024-08-02 11_47_08” where ‘AL0100002’ is the value passed entered by use in the text variable.

How to hide a column based on a variable in Grafana

I have two columns ‘IP Units’ and ‘SI Units’ in my Grafana dashboard, I want to only show one of the columns based on a dashboard variable (think a string or boolean that I can hide or unhide the columns based off that).