-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a feature flag to user agent for container insights (#342)
* Add a feature flag to user agent for container insights * Update agentinfo.OutputPlugins directly instead of parsing. * Add TestUserAgent and fix test cases. * Add function to reset user agent string. * Reset the user agent string before constructing for container insights. Refactor and add test cases. * Move the regex for container insights to top level to reuse it. * Refactor to store userAgent string in map with group name as key. * Move test cases for container_insights flag to agentinfo. * Update test for container_insights and minior refacotr. Co-authored-by: Thomas Yang <yangth@amazon.com>
- Loading branch information
1 parent
63ef9c4
commit 0aad31d
Showing
4 changed files
with
70 additions
and
25 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