Skip to content

feat(ipc): Prometheus and OpenTelemetry mesh telemetry exposition (closes #188) - #190

Merged
vxfemboy merged 10 commits into
mainfrom
feat/prometheus-opentelemetry-metrics
Oct 31, 2026
Merged

vxfemboy merged 10 commits into
mainfrom
feat/prometheus-opentelemetry-metrics

Conversation

@vxfemboy

Copy link
Copy Markdown
Member

Summary

  • Implements lock-free MetricsRegistry exposing Prometheus 0.0.4 text format and OpenTelemetry-aligned snapshots.
  • Adds ControlCmd::GetMetrics and yip metrics [--json] CLI commands.
  • Implements embedded, zero-dependency HTTP/1.1 scraper endpoint (--metrics-listen ) serving /metrics and /healthz.
  • Strictly zero emojis and full documentation updates in CHANGELOG.md and ROADMAP.md.

Closes #188.

…nd epoch tracking

- Add cached_peer_stats to MetricsRegistry and fallback in render_prometheus and snapshot
- Supply live peer metrics from registry to production HTTP scraper in tunnel.rs
- Bound MetricsHttpServer concurrency to 16 with HTTP 429 response on saturation
- Increase WouldBlock sleep to 100ms in MetricsHttpServer accept loop
- Cap HTTP scraper request reader with take(4096) to prevent unbounded allocations
- Update yip_crypto_current_epoch metric gauge on initiator and responder epoch promotions
- Add unit and integration tests covering peer stats fallback and bounded concurrency
@vxfemboy
vxfemboy deployed to benchmark-approval October 31, 2026 18:28 — with GitHub Actions Active
@vxfemboy
vxfemboy deployed to benchmark-approval October 31, 2026 18:28 — with GitHub Actions Active
@vxfemboy
vxfemboy merged commit a89b2c2 into main Oct 31, 2026
11 checks passed
@vxfemboy
vxfemboy deleted the feat/prometheus-opentelemetry-metrics branch October 31, 2026 19:06

This branch was successfully deployed

1 active deployment
benchmark-approval — ff789d51 Deployed Oct 31, 2026 by vxfemboy via iperf-netem-bench #86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(ipc): Prometheus and OpenTelemetry mesh telemetry exposition (get_metrics, metrics_endpoint)

1 participant