Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Remove http client request body capturing 1024 byte limit

Đang mở
#3,788 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@JonasKunz đang làm issue này rồi.

Từ ngày 9/9/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

agent-java

We would like to extend the HTTP client request body capturing feature to support more than 1024 bytes.
The 1024 bytes limit currently comes from the fact that we send the content as otel.attribute in Intakev2, which only supports 1024 bytes.

Therefore we'll have to extend the Intakev2 protocol with a separate field which doesn't have this limitation, like we already do for transactions.

  • Add support for http.request.body intakev2 field to spans (copy it from transactions request.body)
  • Send the http client requests bodies in http.request.body instead of otel.attributes
  • Drop the 1024 bytes limitation when capturing the bodies
Ngôn ngữ chính
Java
Star
593
Fork
338
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của elastic/apm-agent-java

Tất cả issue của elastic/apm-agent-java

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.