Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 10K limit for CaptureBody similar to the Java agent #1368

Merged
merged 1 commit into from
Aug 12, 2021
Merged

Use 10K limit for CaptureBody similar to the Java agent #1368

merged 1 commit into from
Aug 12, 2021

Conversation

gregkalapos
Copy link
Contributor

From #1359.

Change the request body limit to 10K - this is the limit that the Java agent uses.

@apmmachine
Copy link
Contributor

apmmachine commented Aug 3, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-04T13:50:59.484+0000

  • Duration: 49 min 7 sec

  • Commit: 6f46619

Test stats 🧪

Test Results
Failed 0
Passed 19649
Skipped 126
Total 19775

Trends 🧪

Image of Build Times

Image of Tests

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change LGTM.

The http.request.body.content field in span and transaction index mappings to which request body related is mapped as keyword datatype with ignore_above 1024. We might want to consider looking at changing the mapping, if folks are expecting to search on this field.

The field is mapped as a multi-field, with a text datatype too, so the mapping is fine.

@gregkalapos gregkalapos merged commit f6d9ba1 into elastic:master Aug 12, 2021
@gregkalapos gregkalapos deleted the ChangeRequestBodyLimit branch August 12, 2021 13:51
@russcam russcam added v1.11.1 enhancement New feature or request labels Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants