//
pkg.gl
Category
github.com/nextmicro/next-component/mongo
middleware
metrics
package
1.0.0
Repository:
https://github.com/nextmicro/next-component.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
78 SLOC
#
Functions
Client
Client mongo metrics.
WithAddr
WithAddr with addr label.
WithDisabled
WithDisabled set disabled metrics.
WithName
WithName with name label.
WithRequests
WithRequests with requests counter.
WithSeconds
WithSeconds with seconds histogram.
#
Type aliases
Option
Option is metrics option.