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

Request attributes from json post request

islam_zidan
Champion

Hello,

Is there any way to create a request attribute from JSON body of POST request.

 

Thanks,

Islam

Dynatrace Certified Professional - Dynatrace Partner - Yourcompass.ca
5 REPLIES 5

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

I am not sure if you are asking about this but you have Request attributes API - POST a request attribute.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Tom_Eaton
Dynatrace Advisor
Dynatrace Advisor

@islam_zidan - it is not possible today, to get a request attribute from body of a payload. You could look into a method that utilizes the value and create a request attribute there. You can add accessors on a Class object to get to a variable if required.

But as @AntonioSousa said, looks like something is coming soon. 

jegron
DynaMight Champion
DynaMight Champion

Hi @islam_zidan !

If you have enabled Grail on your tenant you can use Business Event (new powerful "request attribute" working on 100% of trace, without sampling) :

Concept : https://www.dynatrace.com/support/help/platform-modules/business-analytics/ba-basic-concepts

Capture : https://www.dynatrace.com/support/help/platform-modules/business-analytics/ba-events-capturing#examp...

This new feature enabled data capture from the JSON payload! Request and Answer are supported.

 

Observability Engineer at Phenisys - Dynatrace Professional

@jegron,

In my use cases, it's more needed in Managed environments...

Antonio Sousa

Featured Posts