Grafana dashboard
The official TwinCommit Grafana dashboard shows lag, throughput, open transactions and table health for every pipeline in one view. It reads the Prometheus metrics.
Import
Section titled “Import”- In Grafana, open Dashboards → New → Import.
- Enter the dashboard URL
https://twincommit.io/grafana/twincommit-overview.json, or upload the JSON file shipped in the release archive undercontrib/grafana/. - Choose your Prometheus data source.
Panels
Section titled “Panels”| Panel | Query |
|---|---|
| Lag | max by (pipeline) (twincommit_lag_seconds) |
| Caught up | min by (pipeline) (twincommit_caught_up) |
| Rows/sec by op | sum by (pipeline, op) (rate(twincommit_rows_total[5m])) |
| Transactions/sec | sum by (pipeline) (rate(twincommit_transactions_total[5m])) |
| Open transactions | twincommit_open_transactions |
| Broken tables | twincommit_broken_tables |
| Error rate | rate(twincommit_errors_total[5m]) |