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 providers.ConfigProvider, shouldPoll bool, pollInterval time.Duration) LoadAndRun(ctx context.Context) ForceRanOnceFlag() HasRunOnce() bool GetAllConfigs() []integration.Config AddListeners(listenerConfigs []pkgconfigsetup.Listeners) AddScheduler(name string, s scheduler.Scheduler, replayConfigs bool) RemoveScheduler(name string) MapOverLoadedConfigs(f func(map[string]integration.Config)) LoadedConfigs() []integration.Config GetUnresolvedTemplates() map[string][]integration.Config GetIDOfCheckWithEncryptedSecrets(checkID checkid.ID) checkid.ID GetAutodiscoveryErrors() map[string]map[string]providers.ErrorMsgSet GetProviderCatalog() map[string]providers.ConfigProviderFactory GetTelemetryStore() *telemetry.Store // TODO (component): deprecate start/stop methods Start() Stop() // TODO (component): once cluster agent uses the API component remove this function GetConfigCheck() integration.ConfigCheckResponse IsStarted() bool }
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 config templates using information from a service.
|
Package configresolver resolves config templates using information from a service. |
Package integration contains the type that represents a configuration.
|
Package integration contains the type that represents a configuration. |
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 |
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.). |
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.