Documentation
¶
Overview ¶
Package l2met implements an l2met stats client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type L2met ¶
type L2met struct {
// contains filtered or unexported fields
}
L2met is a l2met client.
type Logger ¶
type Logger interface {
Info(msg string, ctx ...interface{})
}
Logger represents an abstract logging object.
type OptsFunc ¶
type OptsFunc func(*L2met)
OptsFunc represents a function that configures L2met.
func UseSampler ¶
func UseSampler(sampler SamplerFunc) OptsFunc
UseSampler sets the sampler function for l2met.
type SamplerFunc ¶
SamplerFunc represents a function that samples the L2met stats.
Click to show internal directories.
Click to hide internal directories.