Documentation ¶
Overview ¶
Package api provides the definition of the agent API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client defines the circonus-agent api client configuration
type Metric ¶
type Metric struct { Type string `json:"_type"` Value interface{} `json:"_value"` }
Metric defines an individual metric
type Plugin ¶
type Plugin struct { ID string `json:"id"` // combination of name`instance Name string `json:"name"` Instance string `json:"instance"` Command string `json:"command"` Args []string `json:"args"` LastRunStart string `json:"last_run_start"` LastRunEnd string `json:"last_run_end"` LastRunDuration string `json:"last_run_duration"` LastError string `json:"last_error"` }
Plugin defines an active plugin
Click to show internal directories.
Click to hide internal directories.