Skip to content

Commit

Permalink
fix: review comment
Browse files Browse the repository at this point in the history
Co-authored-by: Gerhard Stöbich <[email protected]>
  • Loading branch information
vmarchaud and Flarna authored Dec 21, 2020
1 parent 4a60254 commit 40c2d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/opentelemetry-instrumentation-http/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const getIncomingRequestAttributes = (
if (userAgent !== undefined) {
attributes[HttpAttribute.HTTP_USER_AGENT] = userAgent;
}
setResponseContentLengthAttribute(request, attributes);
setRequestContentLengthAttribute(request, attributes);

const httpKindAttributes = getAttributesFromHttpKind(httpVersion);
return Object.assign(attributes, httpKindAttributes);
Expand Down

0 comments on commit 40c2d2d

Please sign in to comment.