19 Jul 2024 03:10 PM
Hi Team,
I want to understand that how we can extract Request attributes key-value pairs shown in each distributed trace using Dynatrace API? Is there any documentation? Kindly share.
Regards,
Omkar Sawant
Solved! Go to Solution.
20 Jul 2024 08:58 PM
Hi,
I think that is not possible.
Best regards
20 Jul 2024 09:40 PM
If you are running the Dynatrace platform on SaaS-(AWS or Azure). You can ask your Dynatrace support team about enabling SPANS for your tenant. That will allow you to query the SPAN data among all the other data in the platform. You can use DQL and query the Request Attributes from the traces(spans).
21 Jul 2024 09:24 PM
Hi,
Is it possible to reach it from API? It means, if you create a notebook with that DQL query, is it possible to get it from API?
Best regards
22 Jul 2024 01:55 AM
The API only lists the attributes. I do not see any way to get the actual values within using the API. I can as explained above use a notebook/DQL if your are using the platform(SaaS) and have grail enabled. You would also need to have Spans enabled and get the actual values/counts etc.