Releases: leocamello/nexus
v0.2.0 — Observability
v0.2.0 — Observability Milestone
New Features
F09: Request Metrics
- Prometheus metrics at
GET /metrics(counters, histograms, gauges) - JSON stats at
GET /v1/stats(fleet overview, per-backend/per-model breakdowns) - Label sanitization with DashMap caching (~50ns cached lookups)
- Metric recording overhead: ~188ns per request
F10: Web Dashboard
- Real-time monitoring UI at
GET /dashboard - Backend status grid with health indicators (green/red/yellow)
- Model availability matrix with capability badges (vision, tools, json_mode)
- Request history (last 100 requests in ring buffer)
- WebSocket live updates with three-layer resilience (WS → polling → meta refresh)
- Embedded in binary via rust-embed (no external files needed)
- Dark mode support, mobile-responsive layout
F11: Structured Request Logging
- Per-request structured log entries with 15 span fields
- UUID v4 correlation IDs tracking requests across retries/failovers
- Privacy-safe: message content never logged by default (opt-in via config)
- Component-level log filtering (
routing=debug,api=warn) - JSON and human-readable output formats
- Log level progression: INFO → WARN (retry) → ERROR (exhausted)
- Route reason tracking (why each backend was selected)
- Compatible with ELK, Loki, and other log aggregators
Improvements
- Test coverage: 79% → 81% (462 tests total)
- New routing benchmarks: all strategies under 1ms budget
- Routing latency: ~904ns (1 backend) → ~55µs (50 backends)
Full Changelog
- 12 features shipped (F01-F11)
- 462 tests (unit + integration + property + doc)
- Single binary, zero external dependencies
Full Changelog: v0.1.0...v0.2.0
What's Changed
- feat: Request Metrics (F09) by @leocamello in #107
- feat: F09 Request Metrics — complete deferred items by @leocamello in #108
- feat: Web Dashboard (F10) — real-time monitoring UI by @leocamello in #116
- feat: Structured Request Logging (F11) by @leocamello in #125
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0
What's Changed
- feat: implement Backend Registry (F02) by @leocamello in #12
- feat(health): implement Health Checker module (F03) by @leocamello in #26
- feat: CLI and Configuration (F04) by @leocamello in #44
- feat: mDNS Discovery (F05) by @leocamello in #71
- feat: Intelligent Router (F06) by @leocamello in #87
- feat: Model Aliases with Chaining and Circular Detection (F07) by @leocamello in #94
- feat(F08): Fallback Chains - X-Nexus-Fallback-Model Header by @leocamello in #99
New Contributors
- @leocamello made their first contribution in #12
Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0