aws / aws/aws-xray-sdk-node

[Bug] SDK emit content_length in http response with string type instead of number.

Open
#385 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
280
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Xray SDK should send `content_length` with number type in the json segment for the [http request data](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html).

But I get this data when I use the latest node.js sdk version: [data.txt](https://github.com/aws/aws-xray-sdk-node/files/6065846/data.txt)

This is a bug and when our customers try to use OT collector to take place of Xray-daemon, they can't get the data they want.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.