Documentation ¶
Overview ¶
Package core contains the central frame of the agent that hooks up the various subsystems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VersionLine string
VersionLine should be populated by the startup logic to contain version information that can be reported in diagnostics.
Functions ¶
func Startup ¶
func Startup(configPath string) (context.CancelFunc, <-chan struct{})
Startup the agent. Returns a function that can be called to shutdown the agent, as well as a channel that will be notified when the agent has shutdown.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent is what hooks up observers, monitors, and the datapoint writer.
func (*Agent) DiagnosticText ¶
DiagnosticText returns a simple textual output of the agent's status
func (*Agent) InternalMetrics ¶
InternalMetrics aggregates internal metrics from subcomponents and returns a list of datapoints that represent the instaneous state of the agent
Directories ¶
Path | Synopsis |
---|---|
common
|
|
Package config contains configuration structures and related helper logic for all agent components.
|
Package config contains configuration structures and related helper logic for all agent components. |
sources
Package sources contains all of the config source logic.
|
Package sources contains all of the config source logic. |
sources/vault
Package vault contains the logic for using Vault as a remote config source How to use auth methods with Vault Go client: https://groups.google.com/forum/#!msg/vault-tool/cS7J2KbAwZg/7pu6PYSRAAAJ
|
Package vault contains the logic for using Vault as a remote config source How to use auth methods with Vault Go client: https://groups.google.com/forum/#!msg/vault-tool/cS7J2KbAwZg/7pu6PYSRAAAJ |
sources/zookeeper
Package zookeeper contains the logic for using Zookeeper as a config source.
|
Package zookeeper contains the logic for using Zookeeper as a config source. |
Package dpfilters has logic describing the filtering of unwanted metrics.
|
Package dpfilters has logic describing the filtering of unwanted metrics. |
Package hostid contains methods that can be called upon agent start up to determine host-specific values that uniquely identify a particular host, particularly ids that can be used to correlate metrics coming from this host to other metrics generated elsewhere, such as AWS CloudWatch metrics.
|
Package hostid contains methods that can be called upon agent start up to determine host-specific values that uniquely identify a particular host, particularly ids that can be used to correlate metrics coming from this host to other metrics generated elsewhere, such as AWS CloudWatch metrics. |
Package propfilters has logic describing the filtering of unwanted properties.
|
Package propfilters has logic describing the filtering of unwanted properties. |
Package services has service endpoint types.
|
Package services has service endpoint types. |
Package writer contains the SignalFx writer.
|
Package writer contains the SignalFx writer. |
Click to show internal directories.
Click to hide internal directories.