Hi,
We configured a action plugin where we can filter slow performing web requests >3sec. It is working fine in 3.5 version. However, in 4.1 version, the incident is getting raised but we when we tried to get the purepaths in our action plugin as :incident.getPurePaths() we are getting null values. But the slowly performed purepaths were available in the Incident Dashlet.
Please advise
Thanks
Priya
Answer by Pasquale E. ·
Hi all,
same problem for me on dT 4.1.0.2974. The only possible workaround found (it's not the same but it's enough by now), is to retrieve incident information using the incident.getKey:
String uuid = String.valueOf(incident.getKey());
Hope this could help someone, and hope to have a different functionality "like" incident.getPurePaths().
Thanks
Lino
Hi Lino
Thanks for your workaround. I am passing this on to the responsible Product Manager to get a better solution for this into future product releases
Andi
Answer by Earl B. ·
I'm new to dynaTrace, and I'm trying to figure out how to get the Purepath information in an Action plugin. It seems that perhaps I am running into the same issue as Priya. I also searched the KnowledgeBase, and did not find anything relevant.
I've created an incident baed on the Purepath CPU Duration exceeding a certain time limit. I can see the incidents in the Incidents panel, and my Action class is getting called. But when I print out the size of the collection returned by
incident.getPurePaths()
I get 0.
Am I doing this correctly? Is there a problem with dynaTrace 4.1 supplying the PurePath information to an Action plugin?
Earl
Hi Earl
Nothing that you do wrong. Our Action Plugin doesnt provide the list of PurePaths anymore as Incidents can be triggered by Measures that are not PurePath related, e.g: Free Memory, ...
I will however forward this to our product team as this is misleading right now. We provide this method but dont provide values.
Andi
Answer by Andreas G. ·
Hi Priya
Seems you have also submitted a support ticket on this question. Would be great if you could give an update to the forum once you've received the answer so that other community members can learn from your use case
Thanks
JANUARY 15, 3:00 PM GMT / 10:00 AM ET