{ "uid": "hivegrid-business-kpi", "title": "HiveGrid — Business KPIs", "tags": ["hivegrid", "business"], "timezone": "browser", "schemaVersion": 39, "refresh": "1m", "time": { "from": "now-24h", "to": "now" }, "panels": [ { "id": 1, "type": "stat", "title": "Active tenants", "gridPos": { "h": 4, "w": 6, "x": 0, "y": 0 }, "targets": [ { "refId": "A", "expr": "active_tenants", "datasource": { "uid": "hivegrid-prometheus", "type": "prometheus" } } ] }, { "id": 2, "type": "stat", "title": "Active users (24h)", "gridPos": { "h": 4, "w": 6, "x": 6, "y": 0 }, "targets": [ { "refId": "A", "expr": "active_users_24h", "datasource": { "uid": "hivegrid-prometheus", "type": "prometheus" } } ] }, { "id": 3, "type": "timeseries", "title": "Billing webhook events / min by type", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 4 }, "targets": [ { "refId": "A", "expr": "sum by (event_type) (rate(billing_provider_webhook_events_total[5m]))", "legendFormat": "{{event_type}}", "datasource": { "uid": "hivegrid-prometheus", "type": "prometheus" } } ] }, { "id": 4, "type": "timeseries", "title": "Mail delivery rate by status", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 4 }, "targets": [ { "refId": "A", "expr": "sum by (status) (rate(mail_sent_total[5m]))", "legendFormat": "{{status}}", "datasource": { "uid": "hivegrid-prometheus", "type": "prometheus" } } ] }, { "id": 5, "type": "timeseries", "title": "Outbound webhook attempts by status", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 12 }, "targets": [ { "refId": "A", "expr": "sum by (status) (rate(webhook_delivery_attempts_total[5m]))", "legendFormat": "{{status}}", "datasource": { "uid": "hivegrid-prometheus", "type": "prometheus" } } ] }, { "id": 6, "type": "timeseries", "title": "Active subscriptions by plan", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 12 }, "targets": [ { "refId": "A", "expr": "subscription_active", "legendFormat": "{{plan_id}}", "datasource": { "uid": "hivegrid-prometheus", "type": "prometheus" } } ] } ] }