Skip to content

Http request body in a trace is truncated to 512 bytes instead of 128 KB #288

Closed
@shantanu-vsbhosale

Description

@shantanu-vsbhosale

Use Case
A spring pet clinic app (having POST service) was running which was instrumented by hypertrace java-agent. The app was loaded with multiple POST requests having body ~1MB.
hypertrace traces has the body of a http post request. By default it should capture 128 KB.

Issue
We are only capturing 512 bytes of post request body. See attached images/files.

Solution
The post request body should be 128KB by default.
input_1MB.txt
post_request
output_512B.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions