Documentation ¶
Index ¶
- func Extract(ctx context.Context, propagators propagation.TextMapPropagator) trace.SpanContext
- func InitJaeger(serviceName string, agentHostPort string) (*trace.TracerProvider, context.Context, error)
- func Inject(ctx context.Context, propagators propagation.TextMapPropagator)
- type OpenTelemetryKeyType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Extract ¶
func Extract(ctx context.Context, propagators propagation.TextMapPropagator) trace.SpanContext
func InitJaeger ¶
func Inject ¶
func Inject(ctx context.Context, propagators propagation.TextMapPropagator)
Types ¶
type OpenTelemetryKeyType ¶
type OpenTelemetryKeyType int
const (
OpenTelemetryKey OpenTelemetryKeyType = iota
)
Click to show internal directories.
Click to hide internal directories.