You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The intelligence detector (internal/intelligence/detector.go) runs every 60 seconds computing:
Error rate anomalies (z-score vs baseline)
Latency degradation detection
Volume change detection
Log pattern clustering
Overall health score (0-100)
These results are only logged via slog.Info and discarded. There is no:
API endpoint to retrieve current or historical snapshots
Chat/AI tool exposing intelligence data
Way for the LLM orchestrator to access anomaly insights
Current architecture
The chat UI uses an AI orchestrator with tools (status, diagnose, timeline, etc.) that query DuckDB. The intelligence detector runs independently but its analysis isn't available to any tool.
Problem
The intelligence detector (
internal/intelligence/detector.go) runs every 60 seconds computing:These results are only logged via
slog.Infoand discarded. There is no:Current architecture
The chat UI uses an AI orchestrator with tools (
status,diagnose,timeline, etc.) that query DuckDB. The intelligence detector runs independently but its analysis isn't available to any tool.Proposal
GET /api/intelligenceendpoint returning current snapshotstatustool) with intelligence data so the LLM can report anomalies proactively