Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Host string `json:"host"` Version string `json:"version"` PID int `json:"pid"` }
Agent encapsulates the agent info
type MetricValue ¶
type PluginSnapshot ¶
type PluginSnapshot struct { Name string `json:"name"` GUID string `json:"guid"` DurationSec int `json:"duration"` Metrics map[string]interface{} `json:"metrics"` }
PluginSnapshot encapsulates the current, unset state of a component
type Request ¶
type Request struct { Agent Agent `json:"agent"` Plugins []PluginSnapshot `json:"components"` }
Request is the container that holds a JSON request
Click to show internal directories.
Click to hide internal directories.