Grafana
Grafana can visualize data stored in SereneDB using the built-in PostgreSQL data source.
Setup
- Install and start Grafana following the official guide
- Navigate to Connections > Data sources > Add data source
- Select PostgreSQL
- Enter the connection details:
| Field | Value |
|---|---|
| Host | localhost:7890 |
| TLS/SSL Mode | disable |
- Click Save & test
Create a dashboard
- Create a new dashboard and add a panel
- Select your SereneDB data source
- Write a raw SQL query — for example:
Query
SELECT published_at AS time, viewsFROM articlesORDER BY published_at;Result
time | views------------+------- 2025-01-15 | 4200 2025-03-01 | 5100- Choose a visualization type (Time series, Bar chart, Table, etc.)
note
The interactive query builder is currently not supported. Use raw SQL queries.