package
3.11.0-beta3+incompatible
Repository: https://github.com/signalfx/signalfx-agent.git
Documentation: pkg.go.dev
# Packages
Package cadvisor contains a monitor that pulls cadvisor stats either directly from cadvisor or from the kubelet /stats endpoint that exposes cadvisor.
No description provided by the author
No description provided by the author
Package docker contains a monitor for getting metrics about containers running in a docker engine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package pyrunner holds the logic for managing Python plugins using a subprocess running Python.
No description provided by the author
No description provided by the author
Package types exists to avoid circular references between things that need to reference common types.
# Functions
DeregisterAll unregisters all monitor types.
NewMonitorManager creates a new instance of the MonitorManager.
Register a new monitor type with the agent.
# Variables
ConfigTemplates are blank (zero-value) instances of the configuration struct for a particular monitor type.
MonitorFactories holds all of the registered monitor factories.
# Structs
ActiveMonitor is a wrapper for an actual monitor instance that keeps some metadata about the monitor, such as the set of service endpoints attached to the monitor, as well as a copy of its configuration.
MonitorManager coordinates the startup and shutdown of monitors based on the configuration provided by the user.
# Interfaces
Initializable represents a monitor that has a distinct InitMonitor method.
InjectableMonitor should be implemented by a dynamic monitor that needs to know when services are added and removed.
Shutdownable should be implemented by all monitors that need to clean up resources before being destroyed.
# Type aliases
MonitorFactory is a niladic function that creates an unconfigured instance of a monitor.