Skip to content

Conversation

@agrognetti
Copy link

This change introduces new customization points in OpenTelemetryRumBuilder for more advanced configuration of the OTel SDK.

It is now possible to:

  • Customize the BatchSpanProcessorBuilder, BatchLogRecordProcessorBuilder, and PeriodicMetricReaderBuilder before the components are built.
  • Wrap or replace the final SpanProcessor, LogRecordProcessor, and MetricReader instances.

This allows for intercepting and modifying telemetry signals without needing to add extra processors or readers via the provider customizers.

This change introduces new customization points in `OpenTelemetryRumBuilder` for more advanced configuration of the OTel SDK.

It is now possible to:
* Customize the `BatchSpanProcessorBuilder`, `BatchLogRecordProcessorBuilder`, and `PeriodicMetricReaderBuilder` before the components are built.
* Wrap or replace the final `SpanProcessor`, `LogRecordProcessor`, and `MetricReader` instances.

This allows for intercepting and modifying telemetry signals without needing to add extra processors or readers via the provider customizers.
@agrognetti agrognetti requested a review from a team as a code owner November 14, 2025 14:13
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 14, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

Replaces Awaitility-based async assertions with direct calls to forceFlush and synchronous checks in OpenTelemetryRumBuilderTest. Updates tracer name usage and removes the WRAPPER_TRACER_NAME constant. Disables the LargeClass rule in Detekt configuration to avoid Detekt throwing an error due to OpenTelemetryRumBuilderTest size
@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.75%. Comparing base (b228327) to head (bf3daae).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1389      +/-   ##
==========================================
+ Coverage   63.30%   63.75%   +0.45%     
==========================================
  Files         158      158              
  Lines        3109     3170      +61     
  Branches      320      324       +4     
==========================================
+ Hits         1968     2021      +53     
- Misses       1046     1054       +8     
  Partials       95       95              

☔ View full report in Codecov by Sentry.
📢 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.

1 participant