Skip to content

Commit

Permalink
Merge pull request #2089 from newrelic/java-httpclient-status-code
Browse files Browse the repository at this point in the history
Java HttpClient - Addition of status code to reported externals
  • Loading branch information
jtduffy authored Oct 4, 2024
2 parents 7cc5b0c + 1cbb592 commit 7a8faab
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ private static <T> void reportExternal(URI uri, Segment segment, HttpResponse<T>
.uri(uri)
.procedure(PROCEDURE)
.inboundHeaders(new InboundWrapper(httpResponse))
.status(httpResponse.statusCode(), null)
.build());
segment.end();
}
Expand Down

0 comments on commit 7a8faab

Please sign in to comment.