Documentation
¶
Overview ¶
Package autodiscovery provides the autodiscovery component for the Datadog Agent
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface {
AddConfigProvider(provider types.ConfigProvider, shouldPoll bool, pollInterval time.Duration)
LoadAndRun(ctx context.Context)
GetAllConfigs() []integration.Config
GetUnresolvedConfigs() []integration.Config
AddListeners(listenerConfigs []pkgconfigsetup.Listeners)
AddScheduler(name string, s scheduler.Scheduler, replayConfigs bool)
RemoveScheduler(name string)
GetIDOfCheckWithEncryptedSecrets(checkID checkid.ID) checkid.ID
GetAutodiscoveryErrors() map[string]map[string]types.ErrorMsgSet
GetProviderCatalog() map[string]types.ConfigProviderFactory
GetTelemetryStore() *telemetry.Store
// TODO (component): once cluster agent uses the API component remove this function
GetConfigCheck() integration.ConfigCheckResponse
}
Component is the component type. team: container-platform
Directories
¶
| Path | Synopsis |
|---|---|
|
Package autodiscoveryimpl implements the agent's autodiscovery mechanism.
|
Package autodiscoveryimpl implements the agent's autodiscovery mechanism. |
|
common
|
|
|
types
Package types implements common structs used in the Autodiscovery code.
|
Package types implements common structs used in the Autodiscovery code. |
|
utils
Package utils implements helper methods used in the Autodiscovery code.
|
Package utils implements helper methods used in the Autodiscovery code. |
|
Package configresolver resolves configuration templates against a given service by replacing template variables with corresponding data from the service.
|
Package configresolver resolves configuration templates against a given service by replacing template variables with corresponding data from the service. |
|
Package integration defines types representing an integration configuration, which can be used by several components of the agent to configure checks or log collectors, for example.
|
Package integration defines types representing an integration configuration, which can be used by several components of the agent to configure checks or log collectors, for example. |
|
Package listeners is a wrapper that registers the available autodiscovery listerners.
|
Package listeners is a wrapper that registers the available autodiscovery listerners. |
|
Package noopautoconfig provides a noop implementation for the autodiscovery component
|
Package noopautoconfig provides a noop implementation for the autodiscovery component |
|
Package proto provides autodiscovery proto util functions
|
Package proto provides autodiscovery proto util functions |
|
Package providers defines the ConfigProvider interface and includes implementations that collect check configurations from multiple sources (such as containers, files, etc.).
|
Package providers defines the ConfigProvider interface and includes implementations that collect check configurations from multiple sources (such as containers, files, etc.). |
|
datastreams
Package datastreams contains logic to configure the kafka_consumer integration via remote configuration to fetch messages from Kafka
|
Package datastreams contains logic to configure the kafka_consumer integration via remote configuration to fetch messages from Kafka |
|
names
Package names defines the name of each config provider ("container", "cluster-checks", "file", etc.).
|
Package names defines the name of each config provider ("container", "cluster-checks", "file", etc.). |
|
types
Package types defines the types used by the autodiscovery providers
|
Package types defines the types used by the autodiscovery providers |
|
Package scheduler is providing the `Scheduler` interface that should be implemented for any scheduler that would want to plug in `autodiscovery`.
|
Package scheduler is providing the `Scheduler` interface that should be implemented for any scheduler that would want to plug in `autodiscovery`. |
|
Package status fetch information needed to render the 'autodiscovery' section of the status page.
|
Package status fetch information needed to render the 'autodiscovery' section of the status page. |
|
Package stream provides the autodiscovery config streaming logic
|
Package stream provides the autodiscovery config streaming logic |
|
Package telemetry defines the Autodiscovery telemetry metrics.
|
Package telemetry defines the Autodiscovery telemetry metrics. |
Click to show internal directories.
Click to hide internal directories.