Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Otel ¶
type Otel struct {
// contains filtered or unexported fields
}
func New ¶
NewOtel bootstraps the OpenTelemetry pipeline using the autoexport package. All configuration is driven by standard OTEL environment variables (e.g. OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_PROTOCOL, OTEL_TRACES_SAMPLER, OTEL_TRACES_SAMPLER_ARG, etc.). If it does not return an error, make sure to call Shutdown for proper cleanup.
Click to show internal directories.
Click to hide internal directories.