Documentation ¶
Index ¶
Constants ¶
View Source
const MaxLabelCount = 20
MaxLabelCount max label count limit
Variables ¶
View Source
var ( // ErrLabelCountExceeded error label count exceeded ErrLabelCountExceeded = fmt.Errorf("label count exceeded, max is %d", MaxLabelCount) )
Functions ¶
func NewMetrics ¶
NewMetrics returns a metrics
func RegisterHTTPHandler ¶
RegisterHTTPHandler register metrics with http mode
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.