Documentation
¶
Overview ¶
Package tracing configures OpenTelemetry provider lifecycle for the API process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service owns tracer construction and shutdown for the process.
func NewWithProvider ¶
func NewWithProvider(provider trace.TracerProvider, shutdownFn func(context.Context) error) *Service
NewWithProvider wraps an existing tracer provider in Service API.
Click to show internal directories.
Click to hide internal directories.