Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AGENT-388 Add extra_config_path as an option (#541)
Under kubernetes, it is not convenient to specify custom configuration snippets in the agent.d directory without overriding core configuration snippets. This PR allows users to keep the default configuration snippets we provide, but also provide their own configuration snippets in an additional configuration directory. This additional configuration directory is specified via an environment variable or a command line parameter. If present, the agent will process all .json files in this directory and add them to its current configuration. This only applies to the main agent, and not the agent config scripts.
- Loading branch information
Showing
4 changed files
with
139 additions
and
7 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