Extract Request Attributes key-value shown in distributed trace

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

Hi,

I think that is not possible.

Best regards

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).

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

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.