Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugins = map[string]Creator{}
Functions ¶
Types ¶
type Accumulator ¶
type Accumulator interface {
// Create a point with a value, decorating it with tags
// NOTE: tags is expected to be owned by the caller, don't mutate
// it after passing to Add.
Add(measurement string, value interface{}, tags map[string]string)
// Create a point with a set of values, decorating it with tags
// NOTE: tags and values are expected to be owned by the caller, don't mutate
// them after passing to AddValuesWithTime.
AddValuesWithTime(
measurement string,
values map[string]interface{},
tags map[string]string,
timestamp time.Time,
)
}
type MockPlugin ¶
func (*MockPlugin) Gather ¶
func (m *MockPlugin) Gather(_a0 Accumulator) error
Directories
¶
| Path | Synopsis |
|---|---|
|
ps/common
gopsutil is a port of psutil(http://pythonhosted.org/psutil/).
|
gopsutil is a port of psutil(http://pythonhosted.org/psutil/). |
|
ps/disk
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
|
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
|
ps/process
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.
|
Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints. |
Click to show internal directories.
Click to hide internal directories.