Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAggregator ¶
NewAggregator XXX
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent runs agent and collects data based on the given config
type Collector ¶
Collector posts metrics to Forwarder API.
func NewCollector ¶
NewCollector creates a new instance of Collector.
type Payload ¶
type Payload struct { AgentVersion string `json:"agentVersion"` CollectionTimestamp int64 `json:"collection_timestamp"` InternalHostname string `json:"internalHostname"` LicenseKey string `json:"licenseKey"` Metrics []interface{} `json:"metrics,omitempty"` ServiceChecks []interface{} `json:"service_checks"` OS string `json:"os"` UUID string `json:"uuid"` Gohai map[string]interface{} `json:"gohai,omitempty"` Processes map[string]interface{} `json:"processes,omitempty"` HostTags map[string]interface{} `json:"host-tags,omitempty"` Events map[string]interface{} `json:"events,omitempty"` }
Payload XXX
Click to show internal directories.
Click to hide internal directories.