apiVersion: grafana.integreatly.org/v1beta1 kind: GrafanaDashboard metadata: name: irc-now-public namespace: irc-josie-cloud spec: instanceSelector: matchLabels: dashboards: irc-now json: | { "uid": "irc-now-public", "title": "irc.now", "timezone": "browser", "refresh": "30s", "time": { "from": "now-24h", "to": "now" }, "panels": [ { "id": 1, "title": "Users", "type": "stat", "gridPos": { "h": 4, "w": 6, "x": 0, "y": 0 }, "targets": [{ "expr": "irc_now_users_total", "legendFormat": "Total" }], "fieldConfig": { "defaults": { "thresholds": { "steps": [{ "color": "blue", "value": null }] } } } }, { "id": 2, "title": "Active Users (24h)", "type": "stat", "gridPos": { "h": 4, "w": 6, "x": 6, "y": 0 }, "targets": [{ "expr": "irc_now_active_users_24h", "legendFormat": "DAU" }], "fieldConfig": { "defaults": { "thresholds": { "steps": [{ "color": "green", "value": null }] } } } }, { "id": 3, "title": "Pastes", "type": "stat", "gridPos": { "h": 4, "w": 6, "x": 12, "y": 0 }, "targets": [{ "expr": "irc_now_pastes_total", "legendFormat": "Total" }], "fieldConfig": { "defaults": { "thresholds": { "steps": [{ "color": "orange", "value": null }] } } } }, { "id": 4, "title": "Images", "type": "stat", "gridPos": { "h": 4, "w": 6, "x": 18, "y": 0 }, "targets": [{ "expr": "irc_now_images_total", "legendFormat": "Total" }], "fieldConfig": { "defaults": { "thresholds": { "steps": [{ "color": "yellow", "value": null }] } } } }, { "id": 5, "title": "Users Over Time", "type": "timeseries", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 4 }, "targets": [ { "expr": "irc_now_users_total", "legendFormat": "Total" }, { "expr": "irc_now_active_users_24h", "legendFormat": "Active (24h)" } ] }, { "id": 6, "title": "Content Over Time", "type": "timeseries", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 4 }, "targets": [ { "expr": "irc_now_pastes_total", "legendFormat": "Pastes" }, { "expr": "irc_now_images_total", "legendFormat": "Images" }, { "expr": "irc_now_bots_total", "legendFormat": "Bots" } ] } ], "schemaVersion": 39 }