Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrServerEndedUnexpectedly = fmt.Errorf("metrics server exited unexpectedly") ErrServerStopTimeout = fmt.Errorf("metrics server exit timeout") )
Functions ¶
This section is empty.
Types ¶
type IntervalConfig ¶
IntervalConfig for interval collection
func NewIntervalConfig ¶
func NewIntervalConfig(publish bool) IntervalConfig
NewIntervalConfig is constructor for IntervalConfig, and uses default metrics interval
Click to show internal directories.
Click to hide internal directories.