Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Detectors = map[string]func() []string{ "load_average": func() []string { return []string{} }, "cpu_usage": func() []string { return []string{} }, "mem_usage": func() []string { return []string{} }, "net_usage": net_usage.Detect, "io_usage": io_usage.Detect, "fs_usage": fs_usage.Detect, }
View Source
var Plugins = map[string]func(interface{}, *logger.Logger) interface{}{ "load_average": load_average.GetMetric, "cpu_usage": cpu_usage.GetMetric, "mem_usage": mem_usage.GetMetric, "command": command.GetMetric, "net_usage": net_usage.GetMetric, "io_usage": io_usage.GetMetric, "record": record.GetMetric, "fs_usage": fs_usage.GetMetric, "json_poll": json_poll.GetMetric, "socket_usage": socket_usage.GetMetric, "process_count": process_count.GetMetric, "process_mem_usage": process_mem_usage.GetMetric, }
Functions ¶
This section is empty.
Types ¶
type CirconusConfig ¶
type PluginConfig ¶ added in v0.5.0
type PluginResult ¶ added in v0.5.0
type PluginResult interface{}
type PluginResultCollection ¶ added in v0.5.0
type PluginResultCollection map[string]PluginResult
Click to show internal directories.
Click to hide internal directories.