Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics interface { // GetGrpcServerOption returns the grpc.ServerOptions for metrics interceptors GetGrpcServerOption() []grpc.ServerOption // GetHttpHandlers returns the map from path to handler register some handle for metrics GetHttpHandlers() map[string]http.Handler // EmitCounter emits the count EmitCounter(name string, value interface{}, tags ...T) error // EmitGauge emits the state EmitGauge(name string, value interface{}, tags ...T) error // EmitHistogram emits the histogram EmitHistogram(name string, value interface{}, tags ...T) error // histogram }
Metrics abstracts metrics common define
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.