Skip to content

Commit 2b3d8f9

Browse files
committed
Fix
1 parent 8341e5a commit 2b3d8f9

File tree

1 file changed

+1
-0
lines changed
  • instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws

1 file changed

+1
-0
lines changed

instrumentation/play/play-ws/play-ws-common/testing/src/main/java/io/opentelemetry/javaagent/instrumentation/playws/PlayWsClientBaseTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ protected void configure(HttpClientTestOptions.Builder optionsBuilder) {
9999
// apparently play ws does not report the 302 status code
100100
optionsBuilder.setResponseCodeOnRedirectError(null);
101101
optionsBuilder.setMaxRedirects(3);
102+
optionsBuilder.spanEndsAfterBody();
102103
optionsBuilder.setHttpAttributes(
103104
uri -> {
104105
Set<AttributeKey<?>> attributes =

0 commit comments

Comments
 (0)