Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracerProviderCloser ¶
type TracerProviderCloser interface { trace.TracerProvider io.Closer }
TracerProviderCloser is used to wrap a trace.TracerProvider with an io.Closer to use on shutdown.
func Start ¶
func Start(logger *zap.Logger) TracerProviderCloser
Start creates a Zap logging exporter for Opentelemetry traces and returns the exporter. The exporter implements io.Closer for clean-up.
Click to show internal directories.
Click to hide internal directories.