Documentation ¶
Index ¶
- type Collector
- func (c *Collector) ReloadAllCheckInstances(name string, newInstances []check.Check) ([]check.ID, error)
- func (c *Collector) ReloadCheck(id check.ID, config, initConfig check.ConfigData) error
- func (c *Collector) RunCheck(ch check.Check) (check.ID, error)
- func (c *Collector) Stop()
- func (c *Collector) StopCheck(id check.ID) error
- Bugs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector abstract common operations about running a Check
func NewCollector ¶
NewCollector create a Collector instance and sets up the Python Environment
func (*Collector) ReloadAllCheckInstances ¶
func (c *Collector) ReloadAllCheckInstances(name string, newInstances []check.Check) ([]check.ID, error)
ReloadAllCheckInstances completely restarts a check with a new configuration
func (*Collector) ReloadCheck ¶
ReloadCheck stops and restart a check with a new configuration
Notes ¶
Bugs ¶
we could create the Check if it doesn't exist, see https://github.com/DataDog/datadog-agent/pull/148 for reference
Directories ¶
Path | Synopsis |
---|---|
cluster
Package cluster provides core checks for cluster level checks, used by the Datadog Cluster Agent.
|
Package cluster provides core checks for cluster level checks, used by the Datadog Cluster Agent. |
containers
Package containers provides core checks for containers and orchestrators
|
Package containers provides core checks for containers and orchestrators |
network
Package network provides core checks for networking
|
Package network provides core checks for networking |
Package metadata implements specific Metadata Collectors for the Agent.
|
Package metadata implements specific Metadata Collectors for the Agent. |
Click to show internal directories.
Click to hide internal directories.