Documentation ¶
Index ¶
- func NewOTLPExporterFromEnv(ctx context.Context) (sdktrace.SpanExporter, error)
- func NewProcessorsFromEnv(ctx context.Context) ([]sdktrace.SpanProcessor, error)
- func NewPropagatorsFromEnv() (propagation.TextMapPropagator, error)
- func NewProviderFromEnv(ctx context.Context, resourceOptions ...resource.Option) (*sdktrace.TracerProvider, error)
- func SetProviderFromEnv(ctx context.Context, resourceOptions ...resource.Option) (func(context.Context) error, error)
- func WithSafeProcessOwner() resource.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOTLPExporterFromEnv ¶
func NewOTLPExporterFromEnv(ctx context.Context) (sdktrace.SpanExporter, error)
func NewProcessorsFromEnv ¶
func NewProcessorsFromEnv(ctx context.Context) ([]sdktrace.SpanProcessor, error)
func NewPropagatorsFromEnv ¶
func NewPropagatorsFromEnv() (propagation.TextMapPropagator, error)
func NewProviderFromEnv ¶
func SetProviderFromEnv ¶
func WithSafeProcessOwner ¶ added in v0.2.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.