-
Notifications
You must be signed in to change notification settings - Fork 885
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
Maven groupIds and artifactIds revisited #1186
Comments
I'm a little torn between I agree On the other hand, OTOH, it makes sense to name things for their primary use cases (in our case, using |
I mostly have the same doubts. Apart from that, the list of names above does make sense. |
One reason to like javaagent instead of auto is spring-autoconfigure, which doesn't use our "auto instrumentation" modules is also basically auto instrumentation. But anything can be explained in a README too so don't have a strong preference, but a light preference for |
Discussed with @anuraaga, and we think that the current naming meets the spec recommendation
In our case, prefixing the package is done via the |
Please have a look at this modified proposal: io.opentelemetry.instrumentation
(prefixing with io.opentelemetry.javaagent(I think this makes the
|
I am concerned about the absence of And I read from spec, e.g. from here, that spec prefers to have Other than this prefix question, I support this proposal. |
Agree with @iNikem - during our call my thought was that we don't need |
Ya, good points, I agree. So this? io.opentelemetry.instrumentation
io.opentelemetry.javaagent
|
LGTM |
Let's also change package names to match. One nice thing about this is that everything in the javaagent will be under package |
I'm planning to do the renames this week (before 0.9.0 release). Since we are renaming things from |
Trying out shortening the name
Only down side I think is if we have other "javaagent apis" in the future(?) |
Not sure about this part ^^, e.g. it makes sense to me for
to depend on
But we could still drop the |
hm, maybe I kind of like that, as it reflects our goal to extract the "real"(?) instrumentation out into |
I'm thinking of naming those packages:
|
I see the allure of this but are we sure we will have a lot of library instrumentations? Because if we have only a handful of them, the argument above becomes weak IMO. And without that I feel unease with a long list of |
Summary after #1370 (still work to do): groupId: io.opentelemetry.instrumentation
groupId: io.opentelemetry.javaagent.instrumentation
groupId: io.opentelemetry.javaagent
|
I know I had proposed moving Then Then the only artifact that doesn't really "fit" then is
So I propose keeping it as in above #1186 (comment) for
|
I would like to point out that at least some of our problems with JFrog/Bintray/JCenter when people cannot find our published artifacts are due to JFrog being confused by our constant changes. E.g. Bintray->JCenter sync is not reliable because of that. Thus we really must stabilise our artifactIds ASAP to have them consumable by external users. I would even go as far as claiming we should NOT publish any artifacts until we stabilise them to reduce confusion. |
I have few questions about "javaagent" artifacts: If |
so that we won't produce the exact same jar file names for different artifacts which can be confusing |
Closing, remaining items from above are being discussed now in #2779 |
Based on discussion from #1173 (comment) 😸:
io.opentelemetry.instrumentation
cats
🡆opentelemetry-cats
opentelemetry-instrumentation-cats
(for symmetry, though will create some long names)opentelemetry-instrumentation-api
io.opentelemetry.instrumentation.javaagent🡆 io.opentelemetry.javaagentcats
opentelemetry-javaagent-cats
opentelemetry-javaagent-api
opentelemetry-javaagent
opentelemetry-javaagent-spi
opentelemetry-javaagent-exporters-otlp
opentelemetry-javaagent-exporters-jaeger
opentelemetry-javaagent-exporters-zipkin
opentelemetry-javaagent-exporters-logging
opentelemetry-javaagent-bootstrap
opentelemetry-javaagent-tooling
The above naming also explores how things would look if we changed terminology from
auto
tojavaagent
.The text was updated successfully, but these errors were encountered: