{ "dashboard": { "title": "Buryan Hub", "uid": "buryan-hub", "tags": [ "hub", "buryan" ], "timezone": "browser", "refresh": "1m", "time": { "from": "now-24h", "to": "now" }, "panels": [ { "id": 1, "type": "stat", "title": "Событий за сутки", "gridPos": { "h": 4, "w": 6, "x": 0, "y": 0 }, "targets": [ { "expr": "hub_events_24h", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] }, "colorMode": "value" } }, { "id": 2, "type": "stat", "title": "Открытых проблем", "gridPos": { "h": 4, "w": 6, "x": 6, "y": 0 }, "targets": [ { "expr": "hub_problems_open", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] }, "colorMode": "background" }, "fieldConfig": { "defaults": { "thresholds": { "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 1 } ] } } } }, { "id": 3, "type": "stat", "title": "Карточек в ядре", "gridPos": { "h": 4, "w": 6, "x": 12, "y": 0 }, "targets": [ { "expr": "sum(hub_entities)", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] }, "colorMode": "value" } }, { "id": 4, "type": "stat", "title": "Связей", "gridPos": { "h": 4, "w": 6, "x": 18, "y": 0 }, "targets": [ { "expr": "hub_links", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "options": { "reduceOptions": { "calcs": [ "lastNotNull" ] }, "colorMode": "value" } }, { "id": 5, "type": "timeseries", "title": "События по источникам", "gridPos": { "h": 8, "w": 12, "x": 0, "y": 4 }, "targets": [ { "expr": "sum by (source) (hub_events_total)", "legendFormat": "{{source}}", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "options": { "legend": { "displayMode": "list", "placement": "bottom" } } }, { "id": 6, "type": "barchart", "title": "Карточки по видам", "gridPos": { "h": 8, "w": 12, "x": 12, "y": 4 }, "targets": [ { "expr": "hub_entities", "legendFormat": "{{kind}}", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ] }, { "id": 7, "type": "gauge", "title": "Заполненность хранилищ", "gridPos": { "h": 7, "w": 8, "x": 0, "y": 12 }, "targets": [ { "expr": "hub_storage_percent", "legendFormat": "{{name}}", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "fieldConfig": { "defaults": { "unit": "percent", "max": 100, "thresholds": { "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 80 }, { "color": "red", "value": 90 } ] } } } }, { "id": 8, "type": "barchart", "title": "Возраст бэкапов, часов", "gridPos": { "h": 7, "w": 8, "x": 8, "y": 12 }, "targets": [ { "expr": "hub_backup_age_hours", "legendFormat": "{{name}}", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ], "fieldConfig": { "defaults": { "unit": "h", "thresholds": { "steps": [ { "color": "green", "value": null }, { "color": "yellow", "value": 24 }, { "color": "red", "value": 48 } ] } } } }, { "id": 9, "type": "table", "title": "Действия автоматики", "gridPos": { "h": 7, "w": 8, "x": 16, "y": 12 }, "targets": [ { "expr": "hub_actions", "format": "table", "refId": "A", "datasource": { "type": "prometheus", "uid": "prom-buryan" } } ] } ] }, "overwrite": true, "folderUid": "" }