Skip to content

Apply logging guidance in a few places - #9063

Open
jack-berg wants to merge 1 commit into
open-telemetry:mainfrom
jack-berg:implement-log-guidance
Open

jack-berg wants to merge 1 commit 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

Waiting on reviewers · refreshed 2026-11-26 02:23 UTC

Review the latest changes.

Non-blocking check failure: codecov/patch

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Should this be with the author? Comment /dashboard route:author to route it back.
  • Anything wrong — including the routing? 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.51%. Comparing base (56d237c) to head (6568a66).
⚠️ Report is 3 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.51%   -0.05%     
- Complexity    11194    11226      +32     
============================================
  Files          1032     1032              
  Lines         30524    30633     +109     
  Branches       3999     4024      +25     
============================================
+ Hits          27642    27728      +86     
- Misses         1909     1923      +14     
- Partials        973      982       +9     

☔ 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.

This branch has not been deployed

No deployments
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.

1 participant