I'm looking for a way to visualize in a dashboard the moments when a process group instance is down on a host.
At this time I'm using the following metric query
builtin:tech.generic.processCount:filter(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),entityName.equals(~"My Process Group Name~")"))):parents:splitBy("dt.entity.host"):min:names:sort(dimension("dt.entity.host.name",ascending))
On a dashboard the hostname disappears when the service is down on the host and shows if it's up.
On the contrary, I would like the hostname to appear on the graphic, only if the process group is KO on the hostname.
Is there a metric query to achieve this ?
I attach a screenshot of my actual dashboard.
Solved! Go to Solution.
As far as I can recall, such a mechanism that something appears and disappears (as in the case of the hosts you write about) is not present in Dynatrace dashboards.
You might consider to verify the number of active process instances within a process group on a given host: