Documentation ¶
Index ¶
- func ExtractAMQPHeaders(ctx context.Context, headers map[string]interface{}) context.Context
- func InjectAMQPHeaders(ctx context.Context) map[string]interface{}
- func TracerProvider(ctx context.Context, cfg *JaegerConfig, log logger.ILogger) (trace.Tracer, error)
- type AmqpHeadersCarrier
- type JaegerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAMQPHeaders ¶
ExtractAMQPHeaders extracts the tracing from the header and puts it into the context
func InjectAMQPHeaders ¶
InjectAMQPHeaders injects the tracing from the context into the header map
func TracerProvider ¶
Types ¶
type AmqpHeadersCarrier ¶
type AmqpHeadersCarrier map[string]interface{}
func (AmqpHeadersCarrier) Get ¶
func (a AmqpHeadersCarrier) Get(key string) string
func (AmqpHeadersCarrier) Keys ¶
func (a AmqpHeadersCarrier) Keys() []string
func (AmqpHeadersCarrier) Set ¶
func (a AmqpHeadersCarrier) Set(key string, value string)
type JaegerConfig ¶
Click to show internal directories.
Click to hide internal directories.