Complete snapshot of /opt/microdao-daarion/ from NODE1 (144.76.224.179).
This represents the actual running production code that has diverged
significantly from the previous main branch.
Key changes from old main:
- Gateway (http_api.py): expanded from ~40KB to 164KB with full agent support
- Router: new /v1/agents/{id}/infer endpoint with vision + DeepSeek routing
- Behavior Policy: SOWA v2.2 (3-level: FULL/ACK/SILENT)
- Agent Registry: config/agent_registry.yml as single source of truth
- 13 agents configured (was 3)
- Memory service integration
- CrewAI teams and roles
Excluded from snapshot: venv/, .env, data/, backups, .tgz archives
Co-authored-by: Cursor <cursoragent@cursor.com>
129 lines
5.8 KiB
JSON
129 lines
5.8 KiB
JSON
{
|
|
"annotations": {
|
|
"list": []
|
|
},
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"links": [],
|
|
"liveNow": false,
|
|
"panels": [
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "prometheus"
|
|
},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {"mode": "thresholds"},
|
|
"mappings": [
|
|
{"options": {"0": {"color": "red", "index": 1, "text": "DOWN"}}, "type": "value"},
|
|
{"options": {"1": {"color": "green", "index": 0, "text": "UP"}}, "type": "value"}
|
|
],
|
|
"thresholds": {"mode": "absolute", "steps": [{"color": "red", "value": null}, {"color": "green", "value": 1}]}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {"h": 4, "w": 6, "x": 0, "y": 0},
|
|
"id": 1,
|
|
"options": {"colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": {"calcs": ["lastNotNull"], "fields": "", "values": false}, "textMode": "auto"},
|
|
"pluginVersion": "10.0.0",
|
|
"targets": [{"expr": "agent_e2e_success{target=\"gateway_health\"}", "refId": "A"}],
|
|
"title": "Gateway Health",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": {"mode": "thresholds"},
|
|
"mappings": [{"options": {"0": {"color": "red", "index": 1, "text": "DOWN"}, "1": {"color": "green", "index": 0, "text": "UP"}}, "type": "value"}],
|
|
"thresholds": {"mode": "absolute", "steps": [{"color": "red", "value": null}, {"color": "green", "value": 1}]}
|
|
}
|
|
},
|
|
"gridPos": {"h": 4, "w": 6, "x": 6, "y": 0},
|
|
"id": 2,
|
|
"options": {"colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": {"calcs": ["lastNotNull"], "fields": "", "values": false}, "textMode": "auto"},
|
|
"targets": [{"expr": "agent_e2e_success{target=\"agent_ping\"}", "refId": "A"}],
|
|
"title": "Router + Memory",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {
|
|
"defaults": {"color": {"mode": "palette-classic"}, "unit": "s"},
|
|
"overrides": []
|
|
},
|
|
"gridPos": {"h": 4, "w": 6, "x": 12, "y": 0},
|
|
"id": 3,
|
|
"options": {"colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": {"calcs": ["lastNotNull"], "fields": "", "values": false}},
|
|
"targets": [{"expr": "agent_e2e_latency_seconds{target=\"gateway_health\"}", "refId": "A"}],
|
|
"title": "E2E Latency",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {"defaults": {"color": {"mode": "palette-classic"}, "unit": "short"}},
|
|
"gridPos": {"h": 4, "w": 6, "x": 18, "y": 0},
|
|
"id": 4,
|
|
"options": {"colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": {"calcs": ["lastNotNull"], "fields": "", "values": false}},
|
|
"targets": [{"expr": "gateway_active_requests", "refId": "A"}],
|
|
"title": "Active Requests",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {"defaults": {"color": {"mode": "palette-classic"}, "unit": "reqps"}},
|
|
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 4},
|
|
"id": 5,
|
|
"options": {"legend": {"calcs": [], "displayMode": "list", "placement": "bottom"}, "tooltip": {"mode": "single"}},
|
|
"targets": [{"expr": "rate(gateway_router_calls_total[5m])", "legendFormat": "{{status}}", "refId": "A"}],
|
|
"title": "Router Calls Rate",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {"defaults": {"color": {"mode": "palette-classic"}, "unit": "s"}},
|
|
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 4},
|
|
"id": 6,
|
|
"options": {"legend": {"calcs": ["mean", "max"], "displayMode": "list", "placement": "bottom"}, "tooltip": {"mode": "single"}},
|
|
"targets": [{"expr": "histogram_quantile(0.95, rate(gateway_router_latency_seconds_bucket[5m]))", "legendFormat": "p95", "refId": "A"}, {"expr": "histogram_quantile(0.50, rate(gateway_router_latency_seconds_bucket[5m]))", "legendFormat": "p50", "refId": "B"}],
|
|
"title": "Router Latency",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {"defaults": {"color": {"mode": "palette-classic"}, "unit": "short"}},
|
|
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 12},
|
|
"id": 7,
|
|
"options": {"legend": {"calcs": [], "displayMode": "list", "placement": "bottom"}, "tooltip": {"mode": "single"}},
|
|
"targets": [{"expr": "increase(gateway_telegram_messages_total[1h])", "legendFormat": "{{agent}} {{direction}}", "refId": "A"}],
|
|
"title": "Telegram Messages (1h)",
|
|
"type": "timeseries"
|
|
},
|
|
{
|
|
"datasource": {"type": "prometheus", "uid": "prometheus"},
|
|
"fieldConfig": {"defaults": {"color": {"mode": "palette-classic"}, "unit": "short"}},
|
|
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 12},
|
|
"id": 8,
|
|
"options": {"legend": {"calcs": [], "displayMode": "list", "placement": "bottom"}, "tooltip": {"mode": "single"}},
|
|
"targets": [{"expr": "increase(gateway_errors_total[1h])", "legendFormat": "{{type}} - {{source}}", "refId": "A"}],
|
|
"title": "Errors (1h)",
|
|
"type": "timeseries"
|
|
}
|
|
],
|
|
"refresh": "30s",
|
|
"schemaVersion": 38,
|
|
"style": "dark",
|
|
"tags": ["agents", "gateway", "observability"],
|
|
"templating": {"list": []},
|
|
"time": {"from": "now-1h", "to": "now"},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Agent Health & Observability",
|
|
"uid": "agent-health-v1",
|
|
"version": 1,
|
|
"weekStart": ""
|
|
}
|