simplejaeger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServiceName = semconv.ServiceNameKey.String("go-grpc-demo")

Functions

func InitConn

func InitConn() (*grpc.ClientConn, error)

Initialize a gRPC connection to be used by both the tracer and meter providers.

func InitMeterProvider

func InitMeterProvider(ctx context.Context, res *resource.Resource, conn *grpc.ClientConn) (func(context.Context) error, error)

Initializes an OTLP exporter, and configures the corresponding meter provider.

func InitTracerProvider

func InitTracerProvider(ctx context.Context, res *resource.Resource, conn *grpc.ClientConn) (func(context.Context) error, error)

Initializes an OTLP exporter, and configures the corresponding trace provider.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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