Documentation ¶
Index ¶
Constants ¶
View Source
const (
RequestId = attribute.Key("app.request_id")
)
Variables ¶
View Source
var ( DefaultPropagator Propagator = propagation.TraceContext{} DefaultProvider TracerProvider = NewNoopProvider() )
Functions ¶
func IsNoop ¶
func IsNoop(provider TracerProvider) bool
Types ¶
type NoopProvider ¶
type NoopProvider struct {
Provider
}
func NewNoopProvider ¶
func NewNoopProvider() NoopProvider
func (NoopProvider) Tracer ¶
func (n NoopProvider) Tracer(name string, options ...trace.TracerOption) trace.Tracer
type Propagator ¶
type Propagator = propagation.TextMapPropagator
type TracerProvider ¶
type TracerProvider = traceapi.TracerProvider
Click to show internal directories.
Click to hide internal directories.