Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoCollector ¶
func NewGoCollector ¶
func NewGoCollector(st *statsd.Client) *GoCollector
func (*GoCollector) Collect ¶
func (g *GoCollector) Collect()
func (*GoCollector) Name ¶
func (g *GoCollector) Name() string
type ICollector ¶
type ICollector interface { Collect() Name() string }
type ProcessCollector ¶
type ProcessCollector struct {
// contains filtered or unexported fields
}
func NewProcessCollector ¶
func NewProcessCollector(st *statsd.Client) *ProcessCollector
func (*ProcessCollector) Collect ¶
func (p *ProcessCollector) Collect()
func (*ProcessCollector) Name ¶
func (p *ProcessCollector) Name() string
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func (*Registry) NumCollectors ¶
func (*Registry) Register ¶
func (r *Registry) Register(c ICollector)
Click to show internal directories.
Click to hide internal directories.