metrics

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInterceptors

type ClientInterceptors interface {
	interceptors.ClientInterceptors
}

func DefaultClientInterceptors

func DefaultClientInterceptors() ClientInterceptors

func NewClientInterceptors

func NewClientInterceptors(opts ...grpc_prometheus.CounterOption) ClientInterceptors

type Interceptors

type Interceptors interface {
	ServerInterceptors
	ClientInterceptors
}

func DefaultInterceptors

func DefaultInterceptors() Interceptors

func NewInterceptors

func NewInterceptors(opts ...grpc_prometheus.CounterOption) Interceptors

type Registerer

type Registerer interface {
	Register(svc service.Service)
}

type ServerInterceptors

type ServerInterceptors interface {
	Registerer
	interceptors.ServerInterceptors
	prometheus.Collector
	EnableHandlingTimeHistogram(opts ...grpc_prometheus.HistogramOption)

	EnableClientHandlingTimeHistogram(opts ...grpc_prometheus.HistogramOption)
	EnableClientStreamReceiveTimeHistogram(opts ...grpc_prometheus.HistogramOption)
	EnableClientStreamSendTimeHistogram(opts ...grpc_prometheus.HistogramOption)
}

func DefaultServerInterceptors

func DefaultServerInterceptors() ServerInterceptors

func NewServerInterceptors

func NewServerInterceptors(opts ...grpc_prometheus.CounterOption) ServerInterceptors

Jump to

Keyboard shortcuts

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