cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Capture Request Body of a POST request in Dynatrace

shashank_b_agra
Organizer

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 of 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 somewhere in Dynatrace to see what is coming in the request? That would be ideal to understand which particular requests are affecting the performance of the application.

 

If i look into the browser of my application, the payload looks like this (It's a JSON body) - screenshot-1. 

BUT if I look at Dynatrace 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.

KlausEnzenhofer
Dynatrace Champion
Dynatrace Champion
What are #Dynatrace Business Events? How to capture business events? What are the Business Analytics Use Cases that Dynatrace Business Events enable? Watch this Observability Clinic, where Klaus Enzenhofer, Principal Product Manager at Dynatrace, walks us through an end-2-end example of ingesting

Featured Posts