QuestDB integrates with Grafana through its PostgreSQL wire protocol compatibility. This allows Grafana's native PostgreSQL data source to query QuestDB without requiring a custom plugin.
Grafana connects to QuestDB using the standard PostgreSQL data source configuration. The connection uses QuestDB's PostgreSQL wire protocol implementation, which translates SQL queries into QuestDB's native query engine.
Grafana → PostgreSQL data source → QuestDB wire protocol → QuestDB query engine
questdb:8812)qdbadmin (default) and leave password emptyUse standard SQL with QuestDB-specific time-series functions:
SELECT timestamp, sensor_value
FROM sensor_readings
WHERE sensor_id = 'temp_001'
SAMPLE BY 1h