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 1, 2023
1 parent dbac173 commit 73e8eb9
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,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 73e8eb9

Please sign in to comment.