#support

Recording Request Body for Display on SigNoz

TLDR Pranay asks for recommended approaches to record request body in their environment for SigNoz. Srikanth suggests the use of existing OTEL metrics.

Powered by Struct AI
Oct 17, 2023 (1 month ago)
Pranay
Photo of md5-cadf91cb17cbee161aecbeeea035805d
Pranay
11:13 AM
Hi team, I wanted to understand the recommended approach to be able to record the request body in our environment for displaying the same on SigNoz - Currently our stack is Node and Typescript which uses opentelemetry instrumentation to record traces and send them to the collector

One of the approaches that come to mind is recording the request body using a requestHook in HttpInstrumentation but would love to know if there are other approaches that people use for the same
Oct 19, 2023 (1 month ago)
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
06:59 AM
This is already part of the OTEL metrics sem conv. Check if there is already a metrics with name http_{server/client}_request_size