Documentation ¶
Index ¶
- func NewTelemetry(cfg config.Config, serviceName, 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 ¶
func (NoopSpan) AddEvent ¶
func (n NoopSpan) AddEvent(name string, options ...trace.EventOption)
AddEvent implements trace.Span.
func (NoopSpan) End ¶
func (n NoopSpan) End(options ...trace.SpanEndOption)
End implements trace.Span.
func (NoopSpan) IsRecording ¶
IsRecording implements trace.Span.
func (NoopSpan) RecordError ¶
func (n NoopSpan) RecordError(err error, options ...trace.EventOption)
RecordError implements trace.Span.
func (NoopSpan) SetAttributes ¶
SetAttributes implements trace.Span.
func (NoopSpan) SpanContext ¶
func (n NoopSpan) SpanContext() trace.SpanContext
SpanContext implements trace.Span.
func (NoopSpan) TracerProvider ¶
func (n NoopSpan) TracerProvider() trace.TracerProvider
TracerProvider implements trace.Span.
type NoopTracer ¶
type Tracer ¶
type Tracer struct {
// contains filtered or unexported fields
}
func (Tracer) CreateChildSpan ¶
Click to show internal directories.
Click to hide internal directories.