tracing

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractGRPCMetadata added in v0.6.0

func ExtractGRPCMetadata(ctx context.Context, md metadata.MD) context.Context

ExtractGRPCMetadata returns the baggage and span context from grpc metadata

func ExtractHTTPHeader added in v0.6.0

func ExtractHTTPHeader(ctx context.Context, headers *protocol.RequestHeader) context.Context

ExtractHTTPHeader returns the baggage and span context

func InjectGRPCMetadata added in v0.6.0

func InjectGRPCMetadata(ctx context.Context, md metadata.MD)

InjectGRPCMetadata injects span context into the grpc metadata

func InjectHTTPHeader added in v0.6.0

func InjectHTTPHeader(ctx context.Context, headers *protocol.RequestHeader)

InjectHTTPHeader injects span context into the hertz metadata info

Types

This section is empty.

Jump to

Keyboard shortcuts

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