telemetry

package
v0.15.10-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractContextFromStream added in v0.15.7

func ExtractContextFromStream(stream grpc.ClientStream) (context.Context, error)

func GetApplicationTracer

func GetApplicationTracer(ctx context.Context, cfg appExporterConfig) (trace.Tracer, error)

func InjectContextIntoStream added in v0.15.7

func InjectContextIntoStream(ctx context.Context, stream grpc.ServerStream) error

func NewMeter

func NewMeter(ctx context.Context, cfg exporterConfig) (metric.Meter, error)

func NewTracer

func NewTracer(ctx context.Context, cfg exporterConfig) (trace.Tracer, error)

func NewTracerProvider

func NewTracerProvider(ctx context.Context, exporterConfig *config.TelemetryExporterOption) (*sdktrace.TracerProvider, error)

func ShutdownTracer

func ShutdownTracer(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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