snapshot: NODE1 production state 2026-02-09

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>
This commit is contained in:
Apple
2026-02-09 08:46:46 -08:00
parent 134c044c21
commit ef3473db21
9473 changed files with 408933 additions and 2769877 deletions

View File

@@ -1,199 +1,38 @@
# Prometheus Configuration for DAARION Platform
global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
cluster: 'daarion-prod'
environment: 'production'
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets: []
# - alertmanager:9093
# Load rules once and periodically evaluate them
rule_files:
- "/etc/prometheus/alerts/*.yml"
- "/etc/prometheus/rules/*.yml"
# Scrape configurations
scrape_configs:
# DAGI Router
- job_name: 'dagi-router'
- job_name: "prometheus"
static_configs:
- targets: ['dagi-router:9102']
labels:
service: 'dagi-router'
node_id: 'node-1-hetzнер-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 10s
- targets: ["localhost:9090"]
# Telegram Gateway
- job_name: 'telegram-gateway'
- job_name: "agent-e2e-prober"
static_configs:
- targets: ['telegram-gateway:8000']
labels:
service: 'telegram-gateway'
node_id: 'node-1-hetzнер-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 10s
# DAGI Gateway
- job_name: 'dagi-gateway'
static_configs:
- targets: ['dagi-gateway:9300']
labels:
service: 'dagi-gateway'
node_id: 'node-1-hetzнер-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 10s
# RBAC Service
- job_name: 'dagi-rbac'
static_configs:
- targets: ['dagi-rbac:9200']
labels:
service: 'dagi-rbac'
node_id: 'node-1-hetzнер-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 15s
# CrewAI Service
- job_name: 'dagi-crewai'
static_configs:
- targets: ['dagi-crewai:9010']
labels:
service: 'dagi-crewai'
node_id: 'node-1-hetzнер-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 15s
# Parser Service
- job_name: 'dagi-parser'
static_configs:
- targets: ['dagi-parser:9400']
labels:
service: 'dagi-parser'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 20s
# Vision Encoder
- job_name: 'dagi-vision-encoder'
static_configs:
- targets: ['dagi-vision-encoder:8001']
labels:
service: 'dagi-vision-encoder'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 20s
# DevTools
- job_name: 'dagi-devtools'
static_configs:
- targets: ['dagi-devtools:8008']
labels:
service: 'dagi-devtools'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 15s
# STT Service
- job_name: 'dagi-stt'
static_configs:
- targets: ['dagi-stt:9000']
labels:
service: 'dagi-stt'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 20s
# TTS Service
- job_name: 'dagi-tts'
static_configs:
- targets: ['dagi-tts:9101']
labels:
service: 'dagi-tts'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 20s
# Qdrant Vector DB
- job_name: 'dagi-qdrant'
static_configs:
- targets: ['dagi-qdrant:6333']
labels:
service: 'dagi-qdrant'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
- targets: ["agent-e2e-prober-node1:9108"]
metrics_path: /metrics
scrape_interval: 30s
# NATS
- job_name: 'nats'
- job_name: "gateway"
static_configs:
- targets: ['nats:8222']
labels:
service: 'nats'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/varz'
scrape_interval: 15s
- targets: ["dagi-gateway-node1:9300"]
metrics_path: /metrics
# PostgreSQL (if exporter is installed)
- job_name: 'postgres'
- job_name: "router"
static_configs:
- targets: ['dagi-postgres:5432']
labels:
service: 'postgres'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
metrics_path: '/metrics'
scrape_interval: 30s
- targets: ["dagi-router-node1:8000"]
metrics_path: /metrics
# Prometheus self-monitoring
- job_name: 'prometheus'
- job_name: "qdrant"
static_configs:
- targets: ['localhost:9090']
labels:
service: 'prometheus'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
- targets: ["dagi-qdrant-node1:6333"]
metrics_path: /metrics
scrape_timeout: 10s
# Docker containers (if node_exporter is installed)
- job_name: 'node-exporter'
- job_name: "grafana"
static_configs:
- targets: ['host.docker.internal:9100']
labels:
service: 'node-exporter'
node_id: 'node-1-hetzner-gex44'
env: 'production'
cluster: 'daarion-prod'
scrape_interval: 30s
- targets: ["grafana:3000"]
metrics_path: /metrics