tracing

package
v0.0.0-...-1e85a6b Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) trace.Tracer

FromContext returns a tracer with predefined values from a context.Context.

func NewContext

func NewContext(ctx context.Context, tracer trace.Tracer) context.Context

NewContext returns a new context derived from ctx that embeds the tracer.

func NewTracerProvider

func NewTracerProvider(
	ctx context.Context,
	httpAddr, grpcAddr string,
) (*tracesdk.TracerProvider, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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