Documentation
¶
Overview ¶
Package otel provides OpenTelemetry setup for metrics (Prometheus) and optional tracing (OTLP HTTP). When disabled, global OTel providers remain no-ops with zero overhead.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrometheusHandler ¶
PrometheusHandler returns an HTTP handler that serves Prometheus metrics.
Types ¶
Click to show internal directories.
Click to hide internal directories.