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

This product reached the end of support date on March 31, 2021.

X-dynatrace header to identify a Purepath

eric_horsman2
Inactive

  Is there any way to search or launch a purepath based on the X-dynatrace header? 

 Here is the header - FW1;-994179442;1653339467;93546;2;1653339467;93546;2.

 I know this is different form the response header toggle which is the purepath ID for example - PT=349373;PA=-449064119;RS=ABC ABCD/20141123135437_0.session;SP=ABC ABCD;PS=116033021

 

                Looking at the header element I have tried to use some of the numbers in a purepath search and I can get the RS= which is the session.  Any idea on what values these number correlate to?  Is there a reference?

3 REPLIES 3

MichaelFerguson
Dynatrace Helper
Dynatrace Helper

Eric,

Check out this link Integration with Web Load Testing and Monitoring Tools.  

All the attributes together uniquely define a single object request, i.e. a single PurePath.

Key

Description

Usage

RS

Name of the dynaTrace Recorded Session that is currently being recorded.

only set when session recording is active

PT

PurePath identifier – The Trace number.

required

PA

PurePath identifier – The entry point Agent number.

required

PS

PurePath Server identifier – The Dynatrace Server that captured this PurePath.

required

SP

System Profile – Set to the active System Profile if manual session recording is not active; i.e., if either continuous session recording or no session recording is active.

available

For your example you could try this:

FW1;-994179442;1653339467;93546;2;1653339467;93546;2.

PT=93546;PA=1653339467;SP=YourProfileName;PS=-994179442

You may not need the profile name.

Thanks,

Mike

c_schwarzbauer
Dynatrace Champion
Dynatrace Champion

Mike is right, however it would be better to use the first (=entry) PurePath ID from the X-dynaTrace tag, like this: FW1;-994179442;1653339467;93546;2;1653339467;93546;2

reason is that it's simply depending on where you get the dynatrace tag from. if you get it from the rootpath, then the two numbers will be identical, anyway. if you get it from a subpath, then you want to search for the entry PurePath ID, because this one is identifying the whole root path from the very start.

additionally I'm not a 100% sure right now, if you have to provide the SP & RS parameters for the PurePath to be found or if all system profiles/sessions will be searched otherwise. you'd have to try it out.

you could check that "always send DT response header" in the Servlet Sensor properties to have some IDs you could test with.

HTH,
Christian 

Christian,

Is there any option to restrict time window to search for purepath. If i have session for one month i want purepath id search to to only last 1 day.