Skip to content

Releases: leocamello/nexus

v0.2.0 — Observability

14 Feb 20:07

Choose a tag to compare

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

Full Changelog: v0.1.0...v0.2.0

v0.1.0

10 Feb 22:58

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/leocamello/nexus/commits/v0.1.0