Documentation ¶
Index ¶
- func NewTelemetry(cfg config.Config, release string) *loki.Client
- type NoopSpan
- 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
- type Otel
- type Tracer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NoopSpan ¶ added in v0.9.1
func (NoopSpan) AddEvent ¶ added in v0.9.1
func (n NoopSpan) AddEvent(name string, options ...trace.EventOption)
AddEvent implements trace.Span.
func (NoopSpan) End ¶ added in v0.9.1
func (n NoopSpan) End(options ...trace.SpanEndOption)
End implements trace.Span.
func (NoopSpan) IsRecording ¶ added in v0.9.1
IsRecording implements trace.Span.
func (NoopSpan) RecordError ¶ added in v0.9.1
func (n NoopSpan) RecordError(err error, options ...trace.EventOption)
RecordError implements trace.Span.
func (NoopSpan) SetAttributes ¶ added in v0.9.1
SetAttributes implements trace.Span.
func (NoopSpan) SpanContext ¶ added in v0.9.1
func (n NoopSpan) SpanContext() trace.SpanContext
SpanContext implements trace.Span.
func (NoopSpan) TracerProvider ¶ added in v0.9.1
func (n NoopSpan) TracerProvider() trace.TracerProvider
TracerProvider implements trace.Span.
type NoopTracer ¶ added in v0.9.1
type Tracer ¶ added in v0.9.1
type Tracer struct {
// contains filtered or unexported fields
}
func (Tracer) CreateChildSpan ¶ added in v0.9.1
Click to show internal directories.
Click to hide internal directories.