Skip to content

Commit

Permalink
let upstream handle screen attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Dec 7, 2023
1 parent e4e1a3e commit 6eb0330
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,6 @@ SplunkRum initialize(
return tracerProviderBuilder.addSpanProcessor(networkAttributesSpanAppender);
});

// Add span processor that appends screen attributes and generate init event.
otelRumBuilder.addTracerProviderCustomizer(
(tracerProviderBuilder, app) -> {
ScreenAttributesAppender screenAttributesAppender =
new ScreenAttributesAppender(visibleScreenTracker);
initializationEvents.emit("attributeAppenderInitialized");
return tracerProviderBuilder.addSpanProcessor(screenAttributesAppender);
});

// Add batch span processor
otelRumBuilder.addTracerProviderCustomizer(
(tracerProviderBuilder, app) -> {
Expand Down

0 comments on commit 6eb0330

Please sign in to comment.