metrics

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamServerInterceptor added in v0.8.0

func StreamServerInterceptor(provider metrics.Provider, userAgentNames ...string) grpc_core.StreamServerInterceptor

StreamServerInterceptor creates a stream server interceptor that uses the generic metrics.Provider interface. The client user agent is matched against each of the provided names in order.

func UnaryServerInterceptor added in v0.8.0

func UnaryServerInterceptor(provider metrics.Provider, userAgentNames ...string) grpc_core.UnaryServerInterceptor

UnaryServerInterceptor creates a unary server interceptor that uses the generic metrics.Provider interface. The client user agent is matched against each of the provided names in order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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