Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Remove http client request body capturing 1024 byte limit

Aperta
#3,788 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@JonasKunz ci sta già lavorando.

Dal 9/9/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Java
Stelle
593
Fork
338
Merge medio
1g 9h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastic/apm-agent-java

Tutte le issue di elastic/apm-agent-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.