gitdataai/libs/observability/src
ZhenYi b4024aa690 feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint
- Add HTTP OTLP exporter (opentelemetry-otlp 0.31) via SdkTracerProvider +
  BatchSpanProcessor + tracing_opentelemetry layer
- Add Prometheus /metrics handler via metrics-exporter-prometheus 0.13
- Replace slog with tracing throughout: HttpMetrics, TracingSpanMiddleware
- Replace .init() with .try_init() to allow OTLP layer registration after
  init_tracing_subscriber()
- otlp.rs: SpanExporter::builder().with_http().with_endpoint(),
  Resource::builder().with_service_name(), .with_attribute(KeyValue::new(...))
- prometheus_exporter.rs: install_recorder(), prometheus_handler(),
  spawn_http_metrics_poller()
2026-04-21 22:28:15 +08:00
..
lib.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00
metrics_middleware.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00
otlp.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00
prometheus_exporter.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00
slog_json.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00
tracing_fmt.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00
tracing_init.rs feat(observability): Phase 1-5 slog structured logging across platform 2026-04-21 13:44:12 +08:00
tracing_middleware.rs feat(observability): Phase 6 OTLP tracing + Prometheus /metrics endpoint 2026-04-21 22:28:15 +08:00