Hi,
I’m making an investigation into dynatrace API for an external reporting system.
Then I found that returned JSON files have fields such as “hasRootCause”, “rankedEvents”, “isRootCause” and “eventType” when I fetched the full details of a problem via making GET requests, like this:
<a href="https://{id}.live.dynatrace.com/api/v1/problem/det..." target="_blank" rel="nofollow noopener noreferrer">https://{id}.live.dynatrace.com/api/v1/problem/det...</a>
c.f.) https://www.dynatrace.com/support/help/dynatrace-a…
Here my understandings about these fields are as follows.
- hasRootCause
This is a field for each “Problem”.
If this value is “true”, this “Problem” has at least one root cause.
If this value is “false”, this “Problem” has no root causes. - rankedEvents
This is a field for each “Problem”.
This nests some affected entities in descending order in the point of view of impacts. - isRootCause
This is a field for each “Entity”. of “rankedEvents”
If this value is “true”, this “Entity” is recognized as one of root causes for this “Problem”.
If this value is “false”, this “Entity” is NOT recoginized as root cause. - eventType
This is a field for each “Entity”.
This indicates what types of event had impacts on this “Entity”.
Based on the above, “eventType” is categorized and it explains the statement of “RootCause” to some extent, as is viewed on dynatrace console page.
Here, for example, I mean the statement “Long garbage-collection time” or “Memory resources exhausted”
When I fetch the details of this problem, there are two entities recognized as root cause, which means that their “isRootCause” have “true”.
One of them has “HIGH_GC_ACTIVITY” in “eventType” field and the other has “MEMORY_RESOURCES_EXHAUSTED”.
And I feel that they correspond to each RootCause statement.
In other words, “HIGH_GC_ACTIVITY” seems to mean “Long garbage-collection time” and “MEMORY_RESOURCES_EXHAUSTED” seems to mean “Memory resources exhausted”
Then I assume this “eventType” defines the statement of each root cause.
Is this understanding correct?
If so and possible, can I see something like the list or the table that shows correspondence between “eventType” and statements of root causes?
(I wonder if there are such things..)
Best Regards,
Kohei Saito

