Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Capture the Request Body of a POST Request in Dynatrace?

shashank_b_agra
Organizer

Summary: Dynatrace can capture POST request bodies for deeper insight into transactions and API calls. This thread explains configuration steps, privacy considerations, and best practices for analysing request payloads securely.

Hi, I've a service monitored in Dynatrace and our front end makes a POST call to that service using an endpoint '/graphql' and sends a Payload/Body.

I am trying to find some performance issues with my service, but the investigation is not leading anywhere unless we capture what is being sent in the request.

 

Is there a way to capture the payload in Purepath or elsewhere in Dynatrace to see what is being sent in the request? It would be ideal to understand which specific requests are affecting the application's performance.

 

If I inspect the browser of my application, the payload appears as follows (it's a JSON body) - screenshot-1. 

BUT if I look at Dynatrac,e it just shows like this - screenshot-2

3 REPLIES 3

mgome
Advisor

This is not currently possible. There is a RFE for capturing the POST body.

 

https://community.dynatrace.com/t5/Dynatrace-product-ideas/RFE-capture-POST-Bodies/idi-p/150484

 

axel_ayala
Dynatrace Advisor
Dynatrace Advisor

We have never captured the body of a request, due to both resource consumption and security concerns. The workaround that I have explored for this is to find a method that exposes the same information and access it through a request attribute.

Featured Posts