-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Target allocator Support for the Agent #245
Conversation
* Split target allocator into an internal package (open-telemetry#33223) Fixes open-telemetry#33146 * basic working copy * Added k8 test back --------- Co-authored-by: David Ashpole <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's failing the linter. Please fix those changes. We want to keep it so most tests are passing.
func getPodName() string { | ||
return os.Getenv("POD_NAME") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Seems like an unnecessary function. It's only ever called in one place and doesn't make things clearer.
if len(cfgMap) == 0 { | ||
return nil | ||
} | ||
cfgMap["url"] = "http://placeholder" // we have to set it as else marshaling will fail |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be reset after unmarshalling?
Title: Merge Collector Improvements and Bug Fixes
Description:
This pull request merges several improvements and bug fixes related to the CloudWatch Agent Collector and Target Allocator components. The changes include:
Testing:
Related PRs: