Repository navigation
feat(server): push gateway metrics over OTLP - #4590
ericcurtin wants to merge 9 commits into
Conversation
Signed-off-by: Eric Curtin <[email protected]>
|
@krishicks @johntmyers PTAL, and |
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main to fix conflicts. @krishicks @johntmyers PTAL, and |
|
@TaylorMutch @SDAChess PTAL, and |
|
@TaylorMutch @SDAChess PTAL, and |
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main and fixed the conflicts. Kept both the metrics and agent OTLP tables. @mrunalp PTAL, and |
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main and fixed the conflicts. Dropped the OCSF |
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main. |
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main and fixed the conflicts, metrics now use the new OTLP headers and TLS settings. @krishicks @TaylorMutch PTAL, and |
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main, conflicts resolved. |
|
|
Signed-off-by: Eric Curtin <[email protected]>
|
Merged main, conflicts resolved (metrics now sit behind the new export feature). PTAL. Thank you! |
Signed-off-by: Eric Curtin <[email protected]>
|
@matthewgrossman @rhuss PTAL when you get a chance, and |
|
@johntmyers @alangou PTAL when you get a chance, and |
|
Closing in favor of #5712 |
* feat(gateway): export metrics over OTLP Add an opt-in metrics signal that inherits shared OTLP collector settings and operates independently of the Prometheus scrape listener. Fan out existing metrics to both sinks when enabled. Serialize OTLP gauge updates per series and give each gateway process a distinct resource identity. The recorder follows the registry and gauge locking approach in ai-openshell#4590. Signed-off-by: Eitan Geiger <[email protected]> * fix(gateway): use latency buckets for OTLP queue waits Apply the gateway latency buckets to OTLP histograms measured in seconds. Extend the recorder test to verify queue-wait bucket bounds and its Prometheus summary type. Signed-off-by: Eitan Geiger <[email protected]> --------- Signed-off-by: Eitan Geiger <[email protected]>
Summary
Opt-in OTLP push for gateway metrics, alongside the Prometheus endpoint.
Related Issue
Closes #4489
Changes
metrics = trueor[openshell.gateway.otlp.metrics]enables push.MetricsBridgefeeds themetricsrecorder into an OTel meter.Testing
cargo fmt,clippy,rust:deny:policy,markdown:lint,docs:nav;openshell-otelandopenshell-servertests passChecklist