Using Grafana¶
Grafana is commonly used with CGSE to visualize telemetry data stored in InfluxDB or QuestDB.
This page focuses on day-to-day usage: connecting Grafana to a supported backend, creating dashboards, and understanding the data you are plotting.
For stack installation and server configuration, see Monitoring Stack Setup.
For developer details on telemetry data structure, see Monitoring and Telemetry in CGSE.
Connect Grafana to a Metrics Backend¶
After your metrics backend and Grafana are running, open Grafana in your browser:
http://localhost:3000.
In the left menu, select Connections and add a new InfluxDB connection.
Use the following settings:
Name: Any descriptive name, for exampleinfluxdb3-ariel.Query language:SQL.HTTP>URL:http://127.0.0.1:8181.Auth: Enable only Basic auth.InfluxDB Details>Database: The target InfluxDB database.InfluxDB Details>Token: Your InfluxDB token (starts withapiv3_).InfluxDB Details: Enable Insecure Connection.
In the left menu, select Connections and add a new PostgreSQL connection (QuestDB is exposed via PostgreSQL wire protocol).
Use the following settings:
Name: Any descriptive name, for examplequestdb-ariel.Host URL:127.0.0.1:8812.Database:qdb(or your configuredCGSE_QUESTDB_DATABASE).Username:admin(or your configuredCGSE_QUESTDB_USER).Password:quest(or your configuredCGSE_QUESTDB_PASSWORD).TLS/SSL Mode:disableunless you configured TLS.
Click Save and test to verify that Grafana can reach the database.
If the connection test fails, first verify the host, credentials, and database settings.
Create a Basic Dashboard¶
- Open Dashboards in the left menu.
- Create a new dashboard and add a panel.
- In the panel query, select your InfluxDB data source.
- Select the table that matches the process storage mnemonic.
- Select the metrics you want to plot.
- Add
timein Data Operations so Grafana recognizes the timestamp column.
- Open Dashboards in the left menu.
- Create a new dashboard and add a panel.
- In the panel query, select your PostgreSQL (QuestDB) data source.
- Build a SQL query for the target table (for example,
SELECT time, temperature FROM "daq6510" ORDER BY time). - Ensure the query returns a
timecolumn and one or more numeric value columns. - Set panel visualization options as needed (time-series panel works best for telemetry).
In CGSE, the table name usually matches the storage mnemonic of the process that produced the telemetry.
Example of the query configuration:

Troubleshooting Basics¶
- No data visible: verify the selected database and table name.
- Empty graph: verify that
timeis included in the query operations. - Auth errors: verify token/credentials and data source settings.
- Unexpected table names: check the process storage mnemonic used by the corresponding CGSE component.