Publishing metrics as "alpha" #2328
Replies: 6 comments 9 replies
-
Ok, this might also be a bit of a hack, but here's another stab at it #2329. |
Beta Was this translation helpful? Give feedback.
-
I get it that the problem was solved? :) |
Beta Was this translation helpful? Give feedback.
-
Yes, the latest PR got this working. 🎉 |
Beta Was this translation helpful? Give feedback.
-
I think this discussion is connected to the topic we had on the Metric Workshop. According to @tedsuo, the OTel artifacts that aren't reached their stable state are published with a 0.x version numbering scheme. This does not seem to be the case for opentelemetry-java which seems to be published as Using a 1.0 numbered version with an alpha release has a mixed message - usually pre-GA/non-stable releases are numbered less than 1. Timing of the metrics alpha release currently seems coupled with the 1.0 GA/stable release of other components - since none of the GA/stable components depend on metrics, the release coupling is unnecessary and could be a source of confusion to users. Can this be fixed for opentelemetry-java so that it will be consistent to others components and less confusing for users? |
Beta Was this translation helpful? Give feedback.
-
@jonatan-ivanov The Java SIG has decided that this is the pattern we will be using, and it is in line with semver. We're going to try to keep all the artifacts with the same base version, as much as we possibly can. There is no hard requirement that all languages use precisely the same versioning scheme, and we think it will be less confusing for users this way. |
Beta Was this translation helpful? Give feedback.
-
FYI, please comment on open-telemetry/opentelemetry-specification#1291. In that PR, it is called out that versioning signals independently is the exception only for languages with package managers that do not support unstable versions above 1.0. |
Beta Was this translation helpful? Give feedback.
-
It sounds like a decision was made to exclude the metrics modules from the BOM pre 1.0 (#2268) and to add an "alpha" qualifier to the metrics related artifact names (#2266). With the PR #2311 I attempted to inject "alpha" into the version string for the two metrics modules, but we discovered today that the snapshot artifacts don't contain alpha when they are published. I actually think that we probably want to roll that PR back and reopen the issue.
After hacking on this quite a bit today, we have kinda concluded that the nebula gradle plugin (which is used to automatically divinate a version number from the git repo tags) is basically incompatible with an approach that tries to publish different modules with different version strings. Nebula wants a top-level, singular version number. This makes sense, since the plugin is highly opinionated and since the version is driven from tags (tags apply across all submodules).
So, I'm opening this discussion to see how folks would like to try handling this. I came up with some ideas how how we might attack this challenge:
Specifically curious what @anuraaga thinks, but maybe other folks like @iNikem and others think as well.
Beta Was this translation helpful? Give feedback.
All reactions