docs: document legacy metrics - #8683
Open
Rajkaran-122 wants to merge 3 commits into
Open
Conversation
Pull request dashboard statusWaiting on maintainers · refreshed 2026-08-03 20:02 UTC Merge when ready. Status above doesn't look right?
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8683 +/- ##
============================================
+ Coverage 91.48% 91.62% +0.13%
+ Complexity 10467 10327 -140
============================================
Files 1021 1003 -18
Lines 27694 27138 -556
Branches 3247 3187 -60
============================================
- Hits 25337 24866 -471
+ Misses 1615 1566 -49
+ Partials 742 706 -36 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jack-berg
reviewed
Aug 3, 2026
| * A {@link LogRecordExporter} which writes {@linkplain LogRecordData logs} to a {@link Logger} in | ||
| * OTLP JSON format. Each log line will include a single {@code ResourceLogs}. | ||
| * | ||
| * <p>Note: This class is superseded by {@code OtlpStdoutLogRecordExporter}, which allows |
Member
There was a problem hiding this comment.
Suggested change
| * <p>Note: This class is superseded by {@code OtlpStdoutLogRecordExporter}, which allows | |
| * <p>Note: This class is superseded by {@link OtlpStdoutLogRecordExporter}, which allows |
Should add to the other locations as well
jack-berg
approved these changes
Aug 3, 2026
Author
|
Thanks @jack-berg sir for the review! I've addressed the suggested changes by replacing the {@code ...} references with {@link ...} in all applicable Javadocs. Appreciate the feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #8370
Summary
Document that the legacy OTLP JSON logging exporters are superseded by the corresponding
OtlpStdout*Exporterimplementations.The updated Javadocs clarify that the legacy exporters use
java.util.loggingand direct users to the stdout exporters when they need to configure a custom logger (for example, SLF4J) or a custom output stream.Changes
OtlpJsonLoggingMetricExporterJavadocOtlpJsonLoggingSpanExporterJavadocOtlpJsonLoggingLogRecordExporterJavadocNotes