Grafana Dashboards Overview
How to visualize Sophonz OpenTelemetry telemetry data in Grafana.
Sophonz collects traces, metrics, and logs via OpenTelemetry. That data is stored in ClickHouse and Prometheus, then visualized in real time through provisioned Grafana dashboards. The session dashboards let you follow one user's screens and requests, then continue into the servers those requests went through and their logs, in one flow.
Data flow
Telemetry sent from your apps is stored in ClickHouse; the Grafana dashboards query that stored data and display it.
- The Sophonz SDK sends traces, logs, and metrics in OTLP format from the app.
- The OpenTelemetry Collector receives the data, applies batch processing, and exports it to each storage backend.
- Traces → ClickHouse (
sophonz_tracesdatabase) - Logs → ClickHouse (
sophonz_logsdatabase) - Span metrics (derived from traces) → ClickHouse (
sophonz_metrics_*tables) - Session aggregates → ClickHouse (
stored_analysis_sessiontable)
- Traces → ClickHouse (
- Grafana queries ClickHouse and Prometheus via provisioned datasources and renders the dashboards.
Provisioned dashboards
Sophonz provisions nine v3 dashboards into Grafana. Apart from the browser-only RUM dashboard they are not split by platform: web, iOS and Android share one dashboard, and you pick with the serviceNamespace (project) and serviceName (app) variables.
| Dashboard | uid | What it shows |
|---|---|---|
| Sophonz Service (v3) | sophonz-service-v3 | Request flow, KPIs, web vitals, traces, error grouping, screens, session list |
| Session (v3) | sophonz-session-v3 | A session list and the selected session's timeline, screen flow and traces |
| Sophonz Session List | sophonz-session-list-v3 | A session list with many filters |
| Sophonz Session Detail | sophonz-session-detail-v3 | One session's timeline, screen flow, service flow and traces |
| Sophonz Traces | sophonz-traces-v3 | Trace and span search with a Gantt view |
| Sophonz Logs | sophonz-logs-v3 | OpenTelemetry log search |
| Request Map (v3) | sophonz-requestmap-v3 | Request response-time heatmap |
| Sophonz RUM (v3) | sophonz-rum-v3 | Browser sessions: Core Web Vitals gauges and trend, page loads by screen, fetch/XHR latency, browser and OS share, user actions |
| Sophonz Charts (v3) | sophonz-charts-v3 | Latency distribution, speed shares per service, query phases and span counts, drawn with the Sophonz Chart panels |
Click a card to jump to that dashboard's section in the reference.

sophonz-service-v3Request flow, KPIs, web vitals, traces, errors, screens, sessions.

sophonz-session-v3A session list and the picked session's timeline, screen flow and traces.

sophonz-session-list-v3Session list with user, device and version filters.

sophonz-session-detail-v3One session's timeline, screen flow, service flow and traces.

sophonz-traces-v3Trace and span search with a Gantt view.

sophonz-logs-v3Log volume by severity and log search.

sophonz-requestmap-v3Request response-time heatmap.
Per-panel queries and how each number is computed are in the Dashboard Reference; custom panel options and JSON are in Custom Panels and Sophonz Chart Panels.
Sessions
Every span carries a sessionID, so front-end behavior and back-end traces are viewed together, one session at a time. Three dashboards work with sessions.
| Dashboard | Use it to |
|---|---|
| Session (v3) | Pick a session from the list and see it right below |
| Sophonz Session List | Find sessions by user, device, app version and other filters |
| Sophonz Session Detail | Look at one session in depth |
Session Detail shows:
- Session Timeline — the session's spans on one time axis, in lanes by type such as
render,xhr,longtaskandwebvitals. - Screen Flow — navigation between screens as a graph. Clicking a screen zooms the timeline to the time spent on it.
- Service Flow — the servers the session's requests went through, and the components inside them (handlers, Prisma, pg …), as nodes and edges.
- Trace list and Gantt view — the trace picked in the timeline or list, unfolded span by span, with a link to its logs.
The panel layout is in the Dashboard Reference, and how each panel behaves is in Custom Panels.
Querying directly
For questions the dashboards do not answer, ask ClickHouse with SQL. Use the same grafana-clickhouse-datasource the dashboards use, from Grafana Explore or a new panel's query editor.
| Table | One row is |
|---|---|
sophonz_traces.distributed_sophonz_index_v2 | One span |
sophonz_traces.distributed_sophonz_error_index_v2 | One error |
sophonz_traces.stored_analysis_session | Aggregated session state |
sophonz_logs.distributed_logs_v2 | One log record |
Starting from a query copied out of an existing panel is fastest. Column fallbacks, macros and the aggregation mistakes to avoid are covered in When you edit a query.
Relationship to Sophonz Dashboard
Grafana is the expert query and alerting tool for SREs and operators. Developers and PMs consume the same observability data through the Sophonz Dashboard product UI.
The Grafana Provisioning service automatically projects Sophonz app and project metadata into Grafana datasources, folders, and dashboards. It also issues signed embed URLs so that individual Grafana panels can be embedded inside the Sophonz Dashboard.
Accessing dashboards
Grafana is available at https://grafana.example.com. Authentication is handled over OAuth2/OIDC — signing in with your Sophonz account automatically creates a Grafana session.
NOTE — Auto-reload
The provisioning configuration sets updateIntervalSeconds: 10. Any new or updated dashboard JSON files placed in the provisioning directory are picked up by Grafana within 10 seconds, with no restart required.
Datasources
| Datasource | Plugin | Purpose |
|---|---|---|
| ClickHouse | grafana-clickhouse-datasource | Traces, logs, and span metrics (default) |
| ClickHouse-Altinity | vertamedia-clickhouse-datasource | Supplementary ClickHouse queries |
| Prometheus | Built-in | Infrastructure and application metrics |
| PostgreSQL | Built-in | Application relational data |
For datasource configuration files and dashboard provisioning steps, see Dashboard Setup.