Documentation ¶
Overview ¶
Package collector provides the implementation of the collector
Index ¶
- func GetChecksByNameForConfigs(checkName string, configs []integration.Config) []check.Check
- func GetLoaderErrors() map[string]map[string]string
- func InitPython(_ ...string)
- type CheckScheduler
- func (s *CheckScheduler) AddLoader(loader check.Loader)
- func (s *CheckScheduler) GetChecksFromConfigs(configs []integration.Config, populateCache bool) []check.Check
- func (s *CheckScheduler) Schedule(configs []integration.Config)
- func (s *CheckScheduler) Stop()
- func (s *CheckScheduler) Unschedule(configs []integration.Config)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChecksByNameForConfigs ¶
func GetChecksByNameForConfigs(checkName string, configs []integration.Config) []check.Check
GetChecksByNameForConfigs returns checks matching name for passed in configs
func GetLoaderErrors ¶
GetLoaderErrors returns the check loader errors
Types ¶
type CheckScheduler ¶
type CheckScheduler struct {
// contains filtered or unexported fields
}
CheckScheduler is the check scheduler
func InitCheckScheduler ¶
func InitCheckScheduler(collector optional.Option[collector.Component], senderManager sender.SenderManager) *CheckScheduler
InitCheckScheduler creates and returns a check scheduler
func (*CheckScheduler) AddLoader ¶
func (s *CheckScheduler) AddLoader(loader check.Loader)
AddLoader adds a new Loader that AutoConfig can use to load a check.
func (*CheckScheduler) GetChecksFromConfigs ¶
func (s *CheckScheduler) GetChecksFromConfigs(configs []integration.Config, populateCache bool) []check.Check
GetChecksFromConfigs gets all the check instances for given configurations optionally can populate the configToChecks cache
func (*CheckScheduler) Schedule ¶
func (s *CheckScheduler) Schedule(configs []integration.Config)
Schedule schedules configs to checks
func (*CheckScheduler) Stop ¶
func (s *CheckScheduler) Stop()
Stop is a stub to satisfy the scheduler interface
func (*CheckScheduler) Unschedule ¶
func (s *CheckScheduler) Unschedule(configs []integration.Config)
Unschedule unschedules checks matching configs
Directories ¶
Path | Synopsis |
---|---|
defaults
Module
|
|
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. |
cluster/ksm/customresources
Package customresources implements custom resources that are not yet supported in the kube-state-metrics library or that were supported at some point, but now they're not, and we still want to keep backwards compatibility.
|
Package customresources implements custom resources that are not yet supported in the kube-state-metrics library or that were supported at some point, but now they're not, and we still want to keep backwards compatibility. |
containerimage
Package containerimage implements the container image check.
|
Package containerimage implements the container image check. |
containerlifecycle
Package containerlifecycle implements the container lifecycle check.
|
Package containerlifecycle implements the container lifecycle check. |
containers
Package containers provides core checks for containers and orchestrators
|
Package containers provides core checks for containers and orchestrators |
containers/generic
Package generic implements the container check.
|
Package generic implements the container check. |
ebpf
Package ebpf contains all the ebpf-based checks.
|
Package ebpf contains all the ebpf-based checks. |
ebpf/probe/ebpfcheck
Package ebpfcheck is the system-probe side of the eBPF check
|
Package ebpfcheck is the system-probe side of the eBPF check |
ebpf/probe/ebpfcheck/model
Package model is the types for the eBPF check
|
Package model is the types for the eBPF check |
ebpf/probe/oomkill
Package oomkill is the system-probe side of the OOM Kill check
|
Package oomkill is the system-probe side of the OOM Kill check |
ebpf/probe/oomkill/model
Package model is the types for the OOM Kill check
|
Package model is the types for the OOM Kill check |
ebpf/probe/tcpqueuelength
Package tcpqueuelength is the system-probe side of the TCP Queue Length check
|
Package tcpqueuelength is the system-probe side of the TCP Queue Length check |
ebpf/probe/tcpqueuelength/model
Package model is the types for the TCP Queue Length check
|
Package model is the types for the TCP Queue Length check |
embed/apm
Package apm provides a stub for the APM check
|
Package apm provides a stub for the APM check |
net
Package net provides core checks for networking
|
Package net provides core checks for networking |
network-devices/cisco-sdwan
Package ciscosdwan implements NDM Cisco SD-WAN corecheck
|
Package ciscosdwan implements NDM Cisco SD-WAN corecheck |
network-devices/cisco-sdwan/client
Package client implements a Cisco SD-WAN API client
|
Package client implements a Cisco SD-WAN API client |
network-devices/cisco-sdwan/payload
Package payload implement processing of Cisco SD-WAN api responses
|
Package payload implement processing of Cisco SD-WAN api responses |
network-devices/cisco-sdwan/report
Package report implements Cisco SD-WAN metadata and metrics reporting
|
Package report implements Cisco SD-WAN metadata and metrics reporting |
networkpath
Package networkpath defines the agent corecheck for the Network Path integration
|
Package networkpath defines the agent corecheck for the Network Path integration |
nvidia/jetson
Package nvidia provides core checks for Nvidia's jetson device family
|
Package nvidia provides core checks for Nvidia's jetson device family |
oracle
Package systemd provides core checks for oracle
|
Package systemd provides core checks for oracle |
orchestrator
Package orchestrator holds orchestrator checks ourside the cluster agent
|
Package orchestrator holds orchestrator checks ourside the cluster agent |
orchestrator/ecs
Package ecs is used for the orchestrator ECS check
|
Package ecs is used for the orchestrator ECS check |
orchestrator/pod
Package pod is used for the orchestrator pod check
|
Package pod is used for the orchestrator pod check |
sbom
Package sbom provides core checks for SBOM generation
|
Package sbom provides core checks for SBOM generation |
snmp
Package snmp contains the SNMP corecheck integration
|
Package snmp contains the SNMP corecheck integration |
snmp/internal/common
Package common contains constants and basic structures used in snmp integration
|
Package common contains constants and basic structures used in snmp integration |
snmp/internal/configvalidation
Package configvalidation contains validation and enrichment functions
|
Package configvalidation contains validation and enrichment functions |
snmp/internal/profile
Package profile contains profile related code
|
Package profile contains profile related code |
snmp/internal/report
Package report is a package that reports metrics for the device check
|
Package report is a package that reports metrics for the device check |
system
Package system provides core checks for OS-level system metrics
|
Package system provides core checks for OS-level system metrics |
system/filehandles
Package filehandles defines the file_handle core check
|
Package filehandles defines the file_handle core check |
system/wincrashdetect
Package wincrashdetect implements the windows crash detection on windows.
|
Package wincrashdetect implements the windows crash detection on windows. |
systemd
Package systemd provides core checks for systemd
|
Package systemd provides core checks for systemd |
telemetry
Package telemetry is a check to collect and send limited subset of internal telemetry from the core agent.
|
Package telemetry is a check to collect and send limited subset of internal telemetry from the core agent. |
Package externalhost implements the External Host Tags metadata provider.
|
Package externalhost implements the External Host Tags metadata provider. |
Click to show internal directories.
Click to hide internal directories.