-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[receiver/prometheus] Split target allocator into internal package #33146
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
I support this change |
I agree in spirit. The target allocator integration should be owned by the codeowners of the target allocator itself, which in principle includes some combination of @open-telemetry/operator-ta-maintainers and @open-telemetry/operator-maintainers. I don't know if I like the idea of making it a separate package. It would only have a single consumer, with no real prospects of having more in the future, and would probably be heavily coupled to the prometheus receiver internals anyway. Do we have the option of moving to to a separate Go file, and having different codeowners just for that file? |
A separate package could just be a |
In my current PoC, it is 2 files + 2 test files, with the configuration being split into a config.go file. I'll push what I have tomorrow if I can |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
* 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 <dashpole@google.com>
Component(s)
receiver/prometheus
Describe the issue you're reporting
The target allocator from the Prometheus receiver is a part of the codebase that not all contributors may be as familiar with as other parts. In the OpenTelemetry Operator, the target allocator is owned by a separate group of maintainers.
After discussion with the current set of codeowners of the receiver, this issue proposes splitting off this part of the codebase into an internal package (or a separate module under the top-level
internal/
folder if there is a possibility of reuse), so that we can find new owners for this part of the codebase and ensure we can appropriately handle PRs and issues related to this part of the code.cc @dashpole @Aneurysm9
The text was updated successfully, but these errors were encountered: