propagation

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL