-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow the system-probe to be run without network performance monitori…
…ng being enabled (#71) * Allow the system-probe to be run without network performance monitoring being enabled To preserve backwards compatibility, there is some special behavior when systemProbe.enabled=true. Please see the following truth table for what behaviors should be available when different values are set: ``` systemProbe.enabled runtimeSecurity.enabled networkConfig.enabled agent features no no no nothing enabled no no yes system probe enabled, network config enabled no yes no system probe enabled, network config disabled no yes yes system probe enabled, network config enabled yes no no system probe enabled, network config enabled yes no yes system probe enabled, networkConfig enabled yes yes no system probe enabled, network config disabled yes yes yes system probe enabled, network config enabled ``` This PR does a few things to make this work correctly: * add a new networkConfig block that can be used to disable/enable network performance monitoring * set systemProbe.enabled=true based on networkConfig * use networkConfig.enabled when deciding whether or not to render system-probe-manifests Additionally, this exposed a bug in agent 7.23.0 where DD_SYSTEM_PROBE_ENABLED must be set to true for the connection check to run, which is fixed as part of this PR. This was an impossible situation before this PR, but now might happen if the system probe is enabled without network performance monitoring.
- Loading branch information
Showing
10 changed files
with
38 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters