caelum0x bea907f76e feat: Complete production readiness implementation
- Integrated all production features into main application flow
- Added metrics, tracing, caching, and health checks to API server
- Enhanced trade execution with circuit breakers and retry policies
- Integrated database persistence for trades and metrics
- Added structured logging and observability
- Enhanced middleware with missing validators and rate limiters
- Added comprehensive error handling and resilience patterns
2025-11-20 00:35:39 +03:00

64 lines
1.6 KiB
JSON

{
"dashboard": {
"title": "AI Metrics Dashboard",
"tags": ["ai", "decisions"],
"timezone": "browser",
"panels": [
{
"id": 1,
"title": "AI Decisions Over Time",
"type": "graph",
"targets": [
{
"expr": "sum(rate(ai_decisions_total[5m])) by (agent_type, decision)",
"legendFormat": "{{agent_type}} - {{decision}}"
}
],
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 0}
},
{
"id": 2,
"title": "Decision Confidence Distribution",
"type": "graph",
"targets": [
{
"expr": "histogram_quantile(0.95, sum(rate(ai_decision_confidence_bucket[5m])) by (le, agent_type))",
"legendFormat": "{{agent_type}} p95"
}
],
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 0}
},
{
"id": 3,
"title": "Average Confidence by Agent",
"type": "stat",
"targets": [
{
"expr": "avg(ai_decision_confidence) by (agent_type)",
"legendFormat": "{{agent_type}}"
}
],
"gridPos": {"h": 8, "w": 12, "x": 0, "y": 8}
},
{
"id": 4,
"title": "Decisions by Type",
"type": "piechart",
"targets": [
{
"expr": "sum by (decision) (ai_decisions_total)",
"legendFormat": "{{decision}}"
}
],
"gridPos": {"h": 8, "w": 12, "x": 12, "y": 8}
}
],
"refresh": "10s",
"time": {
"from": "now-1h",
"to": "now"
}
}
}