Versions in this module Expand all Collapse all v0 v0.16.1 Dec 19, 2024 Changes in this version + func NewTelemetry(cfg config.Config, serviceName, release string) *loki.Client + type NoopSpan struct + func (n NoopSpan) AddEvent(name string, options ...trace.EventOption) + func (n NoopSpan) AddLink(link trace.Link) + func (n NoopSpan) End(options ...trace.SpanEndOption) + func (n NoopSpan) IsRecording() bool + func (n NoopSpan) RecordError(err error, options ...trace.EventOption) + func (n NoopSpan) SetAttributes(kv ...attribute.KeyValue) + func (n NoopSpan) SetName(name string) + func (n NoopSpan) SetStatus(code codes.Code, description string) + func (n NoopSpan) SpanContext() trace.SpanContext + func (n NoopSpan) TracerProvider() trace.TracerProvider + type NoopTracer struct + func (n NoopTracer) Start(ctx context.Context, spanName string, opts ...trace.SpanStartOption) (context.Context, trace.Span) + type Otel struct + func NewOtel() Otel + func (o Otel) NewTracer(name string) Tracer + func (o Otel) Shutdown() error + type Tracer struct + func (t Tracer) CreateChildSpan(ctx context.Context, span trace.Span, name string) (context.Context, trace.Span) + func (t Tracer) CreateSpan(ctx context.Context, name string) (context.Context, trace.Span)