Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { MetricsGenerators []metrics.Generator PluginGenerators []metrics.PluginGenerator Checkers []checks.Checker }
Agent is the root of metrics collectors
func (*Agent) CollectGraphDefsOfPlugins ¶ added in v0.15.0
func (agent *Agent) CollectGraphDefsOfPlugins() []mackerel.CreateGraphDefsPayload
CollectGraphDefsOfPlugins collects GraphDefs of Plugins
func (*Agent) CollectMetrics ¶ added in v0.15.0
func (agent *Agent) CollectMetrics(collectedTime time.Time) *MetricsResult
CollectMetrics collects metrics with generators.
func (*Agent) InitPluginGenerators ¶ added in v0.10.0
InitPluginGenerators XXX
Click to show internal directories.
Click to hide internal directories.