-
Notifications
You must be signed in to change notification settings - Fork 849
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
Promote log API / SDK to stable #5341
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #5341 +/- ##
============================================
- Coverage 91.29% 91.29% -0.01%
+ Complexity 4890 4887 -3
============================================
Files 549 548 -1
Lines 14406 14404 -2
Branches 1354 1353 -1
============================================
- Hits 13152 13150 -2
Misses 867 867
Partials 387 387
☔ View full report in Codecov by Sentry. |
…y-java into stabilize-logs
Should |
Yes. Additionally the otlp logs exporter module should be merged into the general otlp artifact. Also, auto configuration should be updated to enable otlp by default for the log SDK. Was planning on doing these tasks in separate PRs but happy to do all in one place if helpful. |
separate PRs are no problem, I had missed the tracking issue #5340, thx |
+++ NEW ENUM: PUBLIC(+) FINAL(+) io.opentelemetry.api.logs.Severity (compatible) | ||
+++ CLASS FILE FORMAT VERSION: 52.0 <- n.a. | ||
+++ NEW INTERFACE: java.lang.constant.Constable |
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.
That's a Java 12 interface, is this supposed to be here?
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 all depends on the JDK that's being used to generate the api diffs... as long as we're all ok with using java 17, then this will always show up.
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.
Constable
👮😂
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.
What I don't understand is why this doesn't get generated from other enums in our public API. We have the build check that ensures that there are no uncomitted japicmp changes, and that passes for builds in all the java versions. 🤔
Related to #5340. Draft for now until spec stabilizes.