-
Notifications
You must be signed in to change notification settings - Fork 831
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
Decide fate of resource providers #4701
Comments
oh, this is an interesting point, that these 2 artifacts are stable, but they are based on unstable semantic conventions if we move them to the instrumentation repo, I think we'd want to release them as |
I believe we marked them as stable because there won't be any binary or source compatibility issues with changing the conventions (since the public APIs won't change). I'm not saying that was correct, but I'm pretty sure that was the reasoning behind it. |
With #4661 (comment) in mind: perhaps we should move the AWS resource providers to the contrib repo (they pretty much require some internal AWS knowledge to maintain), and all OS/runtime/process resource providers to the instrumentation repo? |
We spoke about this in the 8/25/2022 Java SIG and decided on the following:
As a result of this, we need to:
|
#4661 discusses whether this repository is the right home for several components, including
opentelemetry-sdk-extension-aws
(AWS resource providers), and by extensionopentelemetry-sdk-extension-resources
.I'd like to separate out the conversation about the resource providers to this issue to reduce the noise.
The current top candidate is to move resource providers to
opentelemetry-java-instrumentation
. Resource providers are similar to other instrumentation in the sense that they implement the semantic conventions. And the presence of vendor specific resource providers suggests that this repository is not the right home for these, sinceopentelemetry-java
should not house vendor specific code requiring special knowledge to review.The challenge to moving to
opentelemetry-java-instrumentation
is primarily one of artifact coordinates and package names.opentelemetry-sdk-extensions-resources
is stable. If we move it to instrumentation, we can either give it new coordinates and package names that align with the pattern of that repo, or retain the existing coordinates and break uniformity. Retaining the same coordinates does mean that we can fully remove the code from this repo, which saves us from having to maintain two copies of the code going forward. (Note, this code is likely to change going forward given the instability of resource semantic conventions.) And if we retain the existing coordinates, then that begs the question of how to name new resource provider artifacts in the future: they can align with the other instrumentation artifacts or with the exception resource provider artifacts.The other option is to move to
opentelemetry-java-contrib
, but I can't come up with a convincing argument for that route so I'll abstain. Perhaps someone else can 🙂 .The text was updated successfully, but these errors were encountered: