Skip to content

Metrics dashboard#72

Draft
victor-cuevas wants to merge 1 commit intofeat/admin-portalfrom
feat/admin-metrics
Draft

Metrics dashboard#72
victor-cuevas wants to merge 1 commit intofeat/admin-portalfrom
feat/admin-metrics

Conversation

@victor-cuevas
Copy link

No description provided.

Parse Prometheus text format from proxy /metrics endpoints using expfmt, store snapshots in per-instance ring buffers (~1h retention at 10s intervals), compute per-second rates from counter deltas (handling resets), compute p50/p95/p99 from histogram buckets via linear interpolation, and expose results via REST API (GET /api/metrics/{id}, GET /api/metrics/fleet).

New admin/metrics package: parser, ring buffer, rate/percentile math, and Collector orchestrator. Poller extended to scrape /metrics on successful health probes. Fleet endpoint aggregates KPIs across instances with trend indicators vs 1h ago.
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.

1 participant