<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dashboard : Process group downtime per hostname in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/228466#M3428</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You might consider to verify the number of active process instances within a process group on a given host:&lt;BR /&gt;builtin:tech.generic.processCount&lt;/P&gt;</description>
    <pubDate>Sun, 12 Nov 2023 15:48:02 GMT</pubDate>
    <dc:creator>radek_jasinski</dc:creator>
    <dc:date>2023-11-12T15:48:02Z</dc:date>
    <item>
      <title>Process group downtime per hostname in dashboard</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/228429#M3425</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm looking for a way to visualize in a dashboard the moments when a process group instance is down on a host.&lt;BR /&gt;&lt;BR /&gt;At this time I'm using the following metric query&lt;BR /&gt;&lt;BR /&gt;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))&lt;BR /&gt;&lt;BR /&gt;On a dashboard the hostname disappears when the service is down on the host and shows if it's up.&lt;/P&gt;
&lt;P&gt;On the contrary, I would like the hostname to appear on the graphic, only if the process group is KO on the hostname.&lt;BR /&gt;Is there a metric query to achieve this ?&lt;BR /&gt;&lt;BR /&gt;I attach a screenshot of my actual dashboard.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ALF_0-1699634851248.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/15467i37FCD2514A94F156/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ALF_0-1699634851248.png" alt="ALF_0-1699634851248.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:42:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/228429#M3425</guid>
      <dc:creator>ALF</dc:creator>
      <dc:date>2024-01-24T11:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard : Process group downtime per hostname</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/228466#M3428</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You might consider to verify the number of active process instances within a process group on a given host:&lt;BR /&gt;builtin:tech.generic.processCount&lt;/P&gt;</description>
      <pubDate>Sun, 12 Nov 2023 15:48:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/228466#M3428</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-11-12T15:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard : Process group downtime per hostname</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/234983#M3632</link>
      <description>&lt;P&gt;Hi Radek,&lt;/P&gt;&lt;P&gt;I appreciate your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;You might consider to verify the number of active process instances within a process group on a given host:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;builtin:tech.generic.processCount"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would like to do that, how does the query look like in a graph or in a single value dashboard,&lt;/P&gt;&lt;P&gt;I used this successfully to look for the CPU of that particular process&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;builtin:tech.generic.cpu.usage:filter(eq("dt.entity.process_group_instance",PROCESS_GROUP_INSTANCE-98CB935943677AB7)):splitBy("dt.entity.process_group_instance"):max&lt;/P&gt;&lt;P&gt;I want to have that particular PROCESS_GROUP_INSTANCE&lt;/P&gt;&lt;P&gt;I appreciate you support&lt;/P&gt;&lt;P&gt;Marwan...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2024 11:36:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/234983#M3632</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2024-01-20T11:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard : Process group downtime per hostname</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/234998#M3633</link>
      <description>&lt;P&gt;I found the solution by grouping by technology and it works like a charm, I share the code below for anyone who wants to do that.&lt;/P&gt;&lt;P&gt;builtin:tech.generic.processCount:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),softwareTechnologies(~"WEBSPHERE~")"))))):splitBy("dt.entity.process_group_instance"):sort(value(auto,descending)):limit(100):lastReal&lt;/P&gt;&lt;P&gt;The only problem still it only shows that processes which are up but not those that are down. When the process is down Dynatrace does not collect and therefore it only shows what is up. This is not very useful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 16:17:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/234998#M3633</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2024-01-21T16:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard : Process group downtime per hostname</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/234999#M3634</link>
      <description>&lt;P&gt;I think I was wrong, it should show all up or down state. I just needed to play around with the time frame. So the above solution is perfect and can be used for any process name or technology. This question can now be closed, I hope is useful for eveybody.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 16:29:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Process-group-downtime-per-hostname-in-dashboard/m-p/234999#M3634</guid>
      <dc:creator>MarwanC</dc:creator>
      <dc:date>2024-01-21T16:29:02Z</dc:date>
    </item>
  </channel>
</rss>

