metric

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 2 Imported by: 0

README

prometheus

Monitor Prometheus metrics.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinMetric added in v0.0.3

type GinMetric interface {
	SetMetricPath(path string)
	Use(router gin.IRouter)
}

type GrpcClientMetric added in v0.0.3

type GrpcClientMetric interface {
	GrpcClientMetricInterceptors() []grpc.UnaryClientInterceptor // grpc client 中间件
}

type GrpcMetric added in v0.0.3

type GrpcMetric interface {
	GrpcMetricInterceptors() []grpc.UnaryServerInterceptor //grpc 中间件
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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