Documentation
¶
Overview ¶
Package integrations contains packaging logic for python integrations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveCompiledFiles ¶
RemoveCompiledFiles removes compiled Python files (.pyc, .pyo) and __pycache__ directories
func RemoveCustomIntegrations ¶
RemoveCustomIntegrations removes custom integrations that are not installed by the package
Since 6.18.0, a file containing all integrations files which have been installed by the package is available. We use it to remove only the datadog-related check files which have *NOT* been installed by the package (eg: installed using the `integration` command).
func RestoreCustomIntegrations ¶
RestoreCustomIntegrations restores custom integrations from the previous installation Today it calls post.py to persist the custom integrations; though we should probably port this to Go in the future.
Note: in the OCI installation this fails as the file where integrations are saved is hardcoded to be in the same directory as the agent. This will be fixed in a future PR.
func SaveCustomIntegrations ¶
SaveCustomIntegrations saves custom integrations from the previous installation Today it calls pre.py to persist the custom integrations; though we should probably port this to Go in the future.
Note: in the OCI installation this fails as the file where integrations are saved is hardcoded to be in the same directory as the agent. This will be fixed in a future PR.
Types ¶
This section is empty.