6 Commits

Author SHA1 Message Date
c6230be91e feat(metrics): add OTLP metrics support with centralized config
- Create new metrics/ package for OpenTelemetry-native metrics with OTLP export
- Refactor OTLP configuration to internal/tracerconfig/ to eliminate code duplication
- Add consistent retry configuration across all HTTP OTLP exporters
- Add configuration validation and improved error messages
- Include test coverage for all new functionality
- Make OpenTelemetry metrics dependencies explicit in go.mod

Designed for new applications requiring structured metrics export to
observability backends via OTLP protocol.
2025-08-02 09:29:27 -07:00
fac5b1f275 metrics: add tests and documentation 2025-06-06 19:24:30 -07:00
0996167865 modernize + gofumpt 2025-04-19 22:19:02 -07:00
3f1f4436df metrics: have Registry() return a Registry instead of Registerer
(so it can also be used as a Gatherer)
2023-08-06 12:34:56 -07:00
6b6b22092e metrics: allow server to return errors 2023-07-08 21:13:31 -07:00
a1e600e8ae metricsserver: add helper for exporting prom metrics
(also from the monitor code)
2023-07-08 11:45:01 -07:00