Skip to content

Apply logging guidance in a few places - #9063

Merged
jack-berg merged 2 commits into
open-telemetry:mainfrom
jack-berg:implement-log-guidance
Dec 3, 2026
Merged

jack-berg merged 2 commits into
open-telemetry:mainfrom
jack-berg:implement-log-guidance

Conversation

@jack-berg

Copy link
Copy Markdown
Member

Harden logging reflecting new guidance added in #9052:

  • Route invalid instrument names and histogram boundary advice through ApiUsageLogger.
  • Throttle HTTP response-body read warnings, with stack traces available at FINE.
  • Avoid exception-driven Jaeger flag validation and logging unbounded header values.

@jack-berg
jack-berg requested a review from a team as a code owner November 26, 2026 01:56
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-12-03 21:48 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 71.62162% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.49%. Comparing base (56d237c) to head (e22c0fb).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
...io/opentelemetry/sdk/metrics/SdkLongHistogram.java 53.33% 4 Missing and 3 partials ⚠️
...ry/exporter/sender/jdk/internal/JdkHttpSender.java 25.00% 3 Missing ⚠️
...orter/sender/okhttp/internal/OkHttpHttpSender.java 25.00% 3 Missing ⚠️
.../extension/trace/propagation/JaegerPropagator.java 82.35% 1 Missing and 2 partials ⚠️
...in/java/io/opentelemetry/sdk/metrics/SdkMeter.java 70.00% 1 Missing and 2 partials ⚠️
...ernal/aggregator/ExplicitBucketHistogramUtils.java 88.23% 1 Missing and 1 partial ⚠️

❌ Your patch check has failed because the patch coverage (71.62%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9063      +/-   ##
============================================
- Coverage     90.55%   90.49%   -0.07%     
- Complexity    11194    11260      +66     
============================================
  Files          1032     1040       +8     
  Lines         30524    30737     +213     
  Branches       3999     4029      +30     
============================================
+ Hits          27642    27815     +173     
- Misses         1909     1935      +26     
- Partials        973      987      +14     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…tension/trace/propagation/JaegerPropagator.java

Co-authored-by: Jay DeLuca <jaydeluca4@gmail.com>
@jack-berg
jack-berg merged commit e05860a into open-telemetry:main Dec 3, 2026
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants