Backend Observability Platform - Real-time Monitoring & AI-Powered Analysis
Test different scenarios to see how the system handles various conditions. Click a scenario to send test data to the observability platform.
Get dashboard statistics including total logs, metrics, traces, and error rates.
curl -X GET http://localhost:3000/api/dashboard/stats
Get logs with optional filtering. Query params: limit, level, service, startTime, endTime
curl -X GET "http://localhost:3000/api/logs?limit=50&level=error"
Send log data to the observability platform.
curl -X POST http://localhost:3000/api/logs \
-H "Content-Type: application/json" \
-d '{"level":"error","message":"Database connection failed","service":"api-service"}'
Get metrics with optional filtering. Query params: limit, service, startTime, endTime
curl -X GET "http://localhost:3000/api/metrics?limit=20&service=api-service"
Send metrics data to the observability platform.
curl -X POST http://localhost:3000/api/metrics \
-H "Content-Type: application/json" \
-d '{"service":"api-service","metrics":{"requestCount":100,"errorCount":5,"avgResponseTime":150}}'
Get traces with optional filtering. Query params: limit, traceId, service, startTime, endTime
curl -X GET "http://localhost:3000/api/traces?limit=20"
Get AI analysis results. Query params: limit, startTime, endTime
curl -X GET "http://localhost:3000/api/ai-analysis?limit=10"