clientinterceptors

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamTracingInterceptor added in v0.0.3

func StreamTracingInterceptor(UserTraceName string) grpc.StreamClientInterceptor

StreamTracingInterceptor returns a grpc.StreamClientInterceptor for opentelemetry.

func TimeoutInterceptor

func TimeoutInterceptor(timeout time.Duration) grpc.UnaryClientInterceptor

func UnaryClientPrometheusInterceptor

func UnaryClientPrometheusInterceptor() grpc.UnaryClientInterceptor

UnaryClientPrometheusInterceptor prometheus sclient interceptor.

func UnaryTracingInterceptor added in v0.0.3

func UnaryTracingInterceptor(UserTraceName string) grpc.UnaryClientInterceptor

UnaryTracingInterceptor returns a grpc.UnaryClientInterceptor for opentelemetry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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