feat(O10): Prometheus metrics module + /metrics endpoint
- metrics.rs: Counter, Gauge, GaugeF64, Histogram, LabeledCounter types - Timer RAII helper for automatic latency observation - All O1-O9 metric definitions pre-declared (119 metrics total) - render_metrics() outputs Prometheus text exposition format - GET /metrics endpoint registered in http_server - HTTP/LLM/DB latency buckets defined - 6 unit tests passing
This commit is contained in:
@@ -46,3 +46,4 @@ futures-util = "0.3"
|
||||
async-stream = "0.3"
|
||||
rand = "0.8"
|
||||
lru = "0.12"
|
||||
once_cell = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user