provider

package
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 1 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL