telemetry

package module
v0.0.0-...-7c4aaf7 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 8 Imported by: 2

README

telemetry

Aa collection of APIs, SDKs, and tools. Use it to instrument, generate, collect, and export telemetry data

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracePropagator

func NewTracePropagator() propagation.TextMapPropagator

NewTracePropagator creates a new propagator.

Types

type TracePropagator

type TracePropagator struct{}

TracePropagator implements propagation.TracePropagator to propagate traces in HTTP headers for Google Cloud Platform and Stackdriver Trace.

func (TracePropagator) Extract

Extract returns the context from a given carrier.

func (TracePropagator) Fields

func (f TracePropagator) Fields() []string

func (TracePropagator) Inject

func (f TracePropagator) Inject(ctx context.Context, carrier propagation.TextMapCarrier)

Inject injects the span into a given carrier.

Jump to

Keyboard shortcuts

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