Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TracerProvider ¶
type TracerProvider struct {
*sdkTrace.TracerProvider
}
TracerProvider is a wrapper for sdkTrace.TracerProvider.
func New ¶
func New(opts ...sdkTrace.TracerProviderOption) *TracerProvider
New returns a new configured TracerProvider. It acts as a lightweight wrapper around the OpenTelemetry SDK's NewTracerProvider, ensuring a consistent creation pattern within the Maltose framework. By default, it uses the OpenTelemetry SDK's default IDGenerator (random IDs). Users can override this and other options by providing sdkTrace.TracerProviderOption.
Click to show internal directories.
Click to hide internal directories.