Skip to content

Document experimental type routing in OtelObjectRule Javadoc#8573

Draft
thswlsqls wants to merge 1 commit into
open-telemetry:mainfrom
thswlsqls:docs/otel-object-rule-routing-javadoc
Draft

Document experimental type routing in OtelObjectRule Javadoc#8573
thswlsqls wants to merge 1 commit into
open-telemetry:mainfrom
thswlsqls:docs/otel-object-rule-routing-javadoc

Conversation

@thswlsqls

Copy link
Copy Markdown
Contributor

Fixes #8570

Description

  • OtelObjectRule's class Javadoc described only the toString/equals/hashCode replacement, omitting that apply() also routes experimental classes into the internal sub-package via ExperimentalPackages.resolve(...).
  • Added that routing responsibility (clause first), reusing OtelRuleFactory's wording. This aligns OtelObjectRule with its three siblings that already document the routing: OtelRuleFactory, OtelEnumRule, and ExperimentalPackages.
  • The routing was introduced by Move declarative config experimental types to internal package #8530, which updated apply() and the siblings but not this class Javadoc.

Testing done

  • Docs-only, test-exempt: no test added. ./gradlew -p buildSrc build fails only on pre-existing spotlessKotlinGradleCheck violations in unrelated Kotlin convention files; ./gradlew -p buildSrc compileJava passes with this change.

@codecov

codecov Bot commented Jul 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.55%. Comparing base (4d974ba) to head (8b0b2fd).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #8573   +/-   ##
=========================================
  Coverage     91.55%   91.55%           
- Complexity    10262    10263    +1     
=========================================
  Files          1013     1013           
  Lines         27102    27102           
  Branches       3182     3182           
=========================================
+ Hits          24812    24814    +2     
  Misses         1565     1565           
+ Partials        725      723    -2     

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

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.

Document experimental type routing in OtelObjectRule Javadoc

1 participant