Documentation
¶
Index ¶
Constants ¶
View Source
const Category api.MetricCategory = "memory"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct{}
func NewCollector ¶
func NewCollector() *Collector
func (*Collector) StaticInfo ¶
func (c *Collector) StaticInfo() StaticInfo
type CollectorSpec ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func New ¶
func New(intervals config.ReportConfig) *Module
func (*Module) CollectorEntries ¶
func (m *Module) CollectorEntries() []modules.CollectorEntry
func (*Module) ControllerEntries ¶
func (m *Module) ControllerEntries() []modules.ControllerEntry
func (*Module) Registration ¶
type Registration ¶
type Registration struct {
Static StaticInfo
Collectors []CollectorSpec
}
type StaticInfo ¶
type StaticInfo struct {
TotalBytes uint64
}
Click to show internal directories.
Click to hide internal directories.