Hi,
I've a batch to dynatrace, so I've define a sensor somewhere there is an iteration, for instance in the loop processing all contracts, I've define the sensor in the method processing a contract.
I would like now to capture the start of batch before the looping, so is there a mean to configure a sensor to get a purepath from one method starting the record to another method stopping the record ?
By this I will have a sensor for the batch start and another sensor for the iteration inside the batch.
How handle this ?
Regards
Pierre
Answer by Pierre D. ·
RFE done : Stop purepapth recording
@Andi: I won't be able to try your solution.
Answer by Andreas G. ·
Hi Pierre
Unfortunately there is no option like this available in the moment through the regular sensors. Using our Tagging ADK for Java it might be possible to "stop" a PurePath by clearing the PurePath tag - but - I have to be honest: I am not sure if this works nor have I tested it. It also requires you to put a call to setTagFromString("") into the method that should stop the PurePath. If you are willing to give this a test run go ahead and tell me whether this works. Would be very interesting. When our Sensors detect a new PurePath we basically set the PurePath Tag on the current thread using setTag or setTagFromString. I assume that - when calling setTagFromString("") or setTagFromString(null) it will clear that tag. so - when the next "Entry Point Sensor Method" gets called it most likely starts a new PP
Let me know if you give this a try
JANUARY 15, 3:00 PM GMT / 10:00 AM ET