trace

package
v0.0.0-...-7230577 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, serviceName, version, endpoint string) *sdktrace.TracerProvider

Init configures an OpenTelemetry exporter and trace provider

func NewGRPCStreamClientInterceptor

func NewGRPCStreamClientInterceptor() grpc.StreamClientInterceptor

NewGRPCStreamClientInterceptor returns stream client interceptor. It is used with `grpc.WithStreamInterceptor` method.

func NewGRPCStreamServerInterceptor

func NewGRPCStreamServerInterceptor() grpc.StreamServerInterceptor

NewGRPCStreamClientInterceptor returns stream server interceptor. It is used with `grpc.StreamInterceptor` method.

func NewGRPUnaryClientInterceptor

func NewGRPUnaryClientInterceptor() grpc.UnaryClientInterceptor

NewGRPUnaryClientInterceptor returns unary client interceptor. It is used with `grpc.WithUnaryInterceptor` method.

func NewGRPUnaryServerInterceptor

func NewGRPUnaryServerInterceptor() grpc.UnaryServerInterceptor

NewGRPUnaryServerInterceptor returns unary server interceptor. It is used with `grpc.UnaryInterceptor` method.

Types

This section is empty.

Jump to

Keyboard shortcuts

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