opentelemetry-specification icon indicating copy to clipboard operation
opentelemetry-specification copied to clipboard

Capture request and response bodies

Open pavolloffay opened this issue 3 years ago • 13 comments

What are you trying to achieve?

I want to capture request and response bodies. The content can be used for business transaction monitoring and security.

To move this forward we need:

  • data semantics e.g. http.request.body/http.response.body or be transport agnostic e.g. request.body, response.body.
  • a configuration for auto instrumentations e.g. OTEL_INSTRUMENTATION_CAPTURE_REQUEST_BODY=bool

Additional context.

  • business transaction monitoring http://trasier.com/
  • capture request and response bodies in Java https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/1317

pavolloffay avatar Oct 06 '20 16:10 pavolloffay

Related https://github.com/open-telemetry/opentelemetry-specification/issues/1061#issuecomment-704409768

EDIT: But here it may make sense to keep in one issue to define if we even want to support this at all. It seems problematic, both from a performance and also privacy perspective.

Oberon00 avatar Oct 06 '20 16:10 Oberon00

EDIT: But here it may make sense to keep in one issue to define if we even want to support this at all. It seems problematic, both from a performance and also privacy perspective.

This is an opt-in feature not enabled by default only users who need this would enable it with all the implications of course.

pavolloffay avatar Oct 06 '20 19:10 pavolloffay

This would be very useful for certain scenarios

jbadeau avatar Apr 22 '21 12:04 jbadeau

Hello please has there been any progress made here. This specification would be really helpful in many enterprise Environments for also in many app dev scenarios for distributed trace of app data flow validations

alfkonee avatar Jun 24 '22 23:06 alfkonee

upvoted this request :-) would be really usefull

edtro avatar Jul 27 '22 07:07 edtro

+1

iquirino avatar Aug 29 '22 14:08 iquirino