28 Feb 2022 05:44 PM - last edited on 01 Mar 2022 12:03 PM by MaciejNeumann
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
Solved! Go to Solution.
28 Feb 2022 06:16 PM
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
07 Mar 2022 03:24 PM
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.
04 Apr 2023 07:43 AM
Hi,
You may want to investigate business events to solve your use case
Blog:
https://www.dynatrace.com/news/blog/the-value-of-business-events-how-it-can-increase-business-agilit...
Observability clinic
https://www.youtube.com/watch?v=a5Kp3WJ8NHU&list=RDCMUCcYJ-5q_AfmjQ4XTjTS0o3g&index=4
FYI: @DanielMarschnig