Follow-up to #218 / #223.
The chunk-forwarding and bandwidth-credit metrics added in #223 are scraped by Grafana Alloy and remote-written to Grafana Cloud automatically (no extra wiring) once deployed, so they are immediately queryable. They are not yet shown as panels on the gateway dashboard.
Task
Add panels to monitoring/provisioning/dashboards/gateway-overview.json (and push to Grafana Cloud via the documented API) for:
gateway_chunk_uploads_total{status, mode} — upload rate by mode (paid/free/none) and success/error.
gateway_chunk_upload_bytes_total — bandwidth throughput.
gateway_bandwidth_topups_total{status} + gateway_bandwidth_topup_bytes_total — credit sold.
gateway_bandwidth_credit_accounts + gateway_bandwidth_credit_bytes_total — outstanding prepaid liability.
Suggested alerts
- Sustained
gateway_chunk_uploads_total{status="error"} rate.
- Free-tier abuse: high
mode="free" volume.
Notes
Best validated visually against live data, so this should land after the feature is deployed to staging. Keep panels behind the existing dashboard's variables/row conventions.
Follow-up to #218 / #223.
The chunk-forwarding and bandwidth-credit metrics added in #223 are scraped by Grafana Alloy and remote-written to Grafana Cloud automatically (no extra wiring) once deployed, so they are immediately queryable. They are not yet shown as panels on the gateway dashboard.
Task
Add panels to
monitoring/provisioning/dashboards/gateway-overview.json(and push to Grafana Cloud via the documented API) for:gateway_chunk_uploads_total{status, mode}— upload rate by mode (paid/free/none) and success/error.gateway_chunk_upload_bytes_total— bandwidth throughput.gateway_bandwidth_topups_total{status}+gateway_bandwidth_topup_bytes_total— credit sold.gateway_bandwidth_credit_accounts+gateway_bandwidth_credit_bytes_total— outstanding prepaid liability.Suggested alerts
gateway_chunk_uploads_total{status="error"}rate.mode="free"volume.Notes
Best validated visually against live data, so this should land after the feature is deployed to staging. Keep panels behind the existing dashboard's variables/row conventions.