Documentation
¶
Overview ¶
Package otlp provides OpenTelemetry Protocol (OTLP) provider implementations
Package otlp provides OpenTelemetry Protocol (OTLP) provider implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricReader ¶
NewMetricReader creates an OTLP metric reader for use in a unified meter provider
func NewTracerProviderWithShutdown ¶ added in v0.2.17
func NewTracerProviderWithShutdown( ctx context.Context, config Config, res *resource.Resource, extraProcessors ...sdktrace.SpanProcessor, ) (trace.TracerProvider, func(context.Context) error, error)
NewTracerProviderWithShutdown creates an OTLP tracer provider with a shutdown function. Additional span processors (e.g. a Sentry bridge) can be registered via extraProcessors. When endpoint is empty but extra processors are provided, a real SDK provider is created without an OTLP exporter so the processors still receive spans.
Types ¶
Click to show internal directories.
Click to hide internal directories.