Documentation ¶
Overview ¶
Package tracing provides utilities for working with open telemetry tracing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TracerProvider ¶
func TracerProvider(defaultService, url string) (*tracesdk.TracerProvider, error)
TracerProvider creates a trace provider. Service name precedence from higher to lower: 1. OTEL_SERVICE_NAME=mysrv 2. OTEL_RESOURCE_ATTRIBUTES=service.name=mysrv 3. defaultService="mysrv"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.