AI-powered real-time diagnostics and monitoring tool, built with Rust and Tauri.
BugRadar watches your log files, Docker containers, and system metrics in real-time, automatically detects anomalies, groups them into incidents, and generates AI-driven root-cause analyses with actionable fix suggestions.
| Feature | Description |
|---|---|
| Log Watching | Real-time file tailing + Docker container log streaming |
| Multi-Format Parsing | JSON, plaintext, nginx, Docker: with stacktrace merging |
| Anomaly Detection | Rolling-window analysis: error spikes, latency jumps, memory leaks |
| Incident Grouping | Correlates anomalies into incidents within configurable time windows |
| AI Root-Cause Analysis | Local AI (Ollama) generates structured fix suggestions |
| System Monitoring | CPU, RAM, Disk, Network, Docker container status |
| Config Inspector | Analyzes YAML/JSON/TOML files for issues and conflicts |
| Timeline View | Recharts-powered anomaly timeline and heatmap |
- Rust 1.77+
- Node.js 20+
- Tauri CLI v2:
cargo install tauri-cli - Ollama (for AI analysis)
- macOS / Windows / Linux
git clone https://github.com/9t29zhmwdh-coder/BugRadar
cd BugRadar
cd frontend && npm install && cd ..
cargo tauri devcargo install --path crates/br-cli
bugradar inspect /etc/nginx/nginx.conf
bugradar metrics
bugradar incidents --open| Provider | Setup |
|---|---|
| Ollama | Set URL in Settings (default: http://localhost:11434) |
| Ollama (local) | Install Ollama, run ollama pull llama3.2 |
AI analysis is triggered automatically when an incident reaches High severity with at least 3 anomalies (30s debounce to avoid API spam).
BugRadar/
├── crates/br-core/ — Rust: collector, anomaly detection, AI, sysmon, DB
├── crates/br-cli/ — CLI binary (bugradar)
├── src-tauri/ — Tauri v2 backend + IPC commands
└── frontend/ — React + TypeScript + Tailwind + Recharts
LogCollector ──► AnomalyEngine ──► IncidentGrouper
│ │ │
File/Docker 1s tick AI Trigger
tail/stream detect (debounced)
anomaly
Author: Rafael Yilmaz · Status: Active · v0.1.0 · License: MIT
