Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider for telemetry services.
func NewProvider ¶
func NewProvider(log *slog.Logger, tracer trace.Tracer, meter metric.Meter, propagator propagation.TextMapPropagator) *Provider
NewProvider creates a new telemetry provider.
func (Provider) Propagator ¶
func (p Provider) Propagator() propagation.TextMapPropagator
Propagator returns the OpenTelemetry propagator.
Click to show internal directories.
Click to hide internal directories.