Documentation ¶
Index ¶
- func ExtractAMQP(msg *amqp.Delivery) propagation.Extractor
- func ExtractGooglePubSub(msg *pubsub.Message) propagation.Extractor
- func ExtractHTTP(r *http.Request) propagation.Extractor
- func ExtractTextMap(dict map[string]string) propagation.Extractor
- func InjectAMQP(msg *amqp.Publishing) propagation.Injector
- func InjectGooglePubSub(msg *pubsub.Message) propagation.Injector
- func InjectHTTP(r *http.Request) propagation.Injector
- func InjectTextMap(dict map[string]string) propagation.Injector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAMQP ¶
func ExtractAMQP(msg *amqp.Delivery) propagation.Extractor
ExtractAMQP will extract a span.Context from the AMQP Message if found in B3 header format.
func ExtractGooglePubSub ¶ added in v0.5.0
func ExtractGooglePubSub(msg *pubsub.Message) propagation.Extractor
ExtractGooglePubSub will extract a span.Context from the Google Cloud PubSub message if found in B3 header format.
func ExtractHTTP ¶
func ExtractHTTP(r *http.Request) propagation.Extractor
ExtractHTTP will extract a span.Context from the HTTP Request if found in B3 header format.
func ExtractTextMap ¶
func ExtractTextMap(dict map[string]string) propagation.Extractor
ExtractTextMap will extract a span.Context from the string map if found in B3 header format.
func InjectAMQP ¶
func InjectAMQP(msg *amqp.Publishing) propagation.Injector
InjectAMQP will inject a span.Context into a AMQP message
func InjectGooglePubSub ¶ added in v0.5.0
func InjectGooglePubSub(msg *pubsub.Message) propagation.Injector
InjectGooglePubSub will inject a span.Context into a Google Cloud PubSub message
func InjectHTTP ¶
func InjectHTTP(r *http.Request) propagation.Injector
InjectHTTP will inject a span.Context into a HTTP Request
func InjectTextMap ¶
func InjectTextMap(dict map[string]string) propagation.Injector
InjectHTTP will inject a span.Context into a string map
Types ¶
This section is empty.