question

Nikhil A. avatar image
Nikhil A. asked ·

Starting a purepath on a method

We need to understand what behavior "starting a pure path on a method" exactly exhibits. Should we should be able to see pure paths from that method, (on which we added a custom sensor and set the "capture" setting to "Active and start purepaths") in the pure path dashlet? Or should we expect something else? Can someone please confirm?

10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Nikhil A. avatar image
Nikhil A. answered ·

Ted,

Hi! Thanks for the response, it completely answered our question (and confusion). The method on which we added a custom sensor is already a part of an existing purepath (webrequest). We wanted to separate it out so it could be used in a business transaction. But the last part of your response also mentioned that if the method is in an existing purepath, dynaTrace will not split it.

Thanks,

Nikhil

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Happy to help.

Why did you need to split the PurePath for your Business Transaction?  Just curious.  Maybe there's another way to get the same result.

0 Likes 0 · ·
Ted F. avatar image
Ted F. answered ·

Hey Nikhil,

We need to know what method starts a PurePath in order to capture the sensor and autosensor data for it.  Out of the box, we assume a web application so you'll see Sensors like "Servlets" and "ASP.Net" are set to "active and start purepaths" whereas other Sensors are set to "active" (in the Sensor Configuration screen for an Agent Group.

If you want to capture PurePaths for threads that do not include Web Request technology (e.g., no Servlets or ASp.Net), you'd need to configure a different entry point.  This can be done by setting an existing Sensor from "active" to "active and start purepaths" or by creating a new custom sensor and setting that sensor to "active and start purepaths".

Long story short - yes, if you set a custom sensor to "active and start purepaths" you should see new purepaths starting with that method as an entry point.

Note that if this method is already in a PurePath we won't split it.  In other words, the top-most entry point will always be used and any subsequent method calls in that PurePath that are set to "active and start purepaths" will not create a new PurePath.

===ted

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.