<?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: Adding hostname in the metric event description in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241169#M4267</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40713"&gt;@PacoPorro&lt;/a&gt;. If I understand correctly, we can't have "hostname" in the event template description if I intend to use metric key rather than metric selector?&lt;/P&gt;</description>
    <pubDate>Wed, 27 Mar 2024 09:18:27 GMT</pubDate>
    <dc:creator>SrikanthSamraj</dc:creator>
    <dc:date>2024-03-27T09:18:27Z</dc:date>
    <item>
      <title>Adding hostname in the metric event description</title>
      <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241157#M4265</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to monitor CPU usage of a specific process group using metric event (Query definition type as metric key). What can be done to avail host name in the event template description? At present, problem generated shows "Process group" and "severity" but expecting affected host to be part of this description.&lt;/P&gt;&lt;P&gt;Looking for thoughts since I presume it's not a straightforward one!&lt;/P&gt;&lt;P&gt;Rgds.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 08:23:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241157#M4265</guid>
      <dc:creator>SrikanthSamraj</dc:creator>
      <dc:date>2024-03-27T08:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding hostname in the metric event description</title>
      <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241168#M4266</link>
      <description>&lt;P&gt;Please try using this metric selector:&lt;/P&gt;&lt;LI-CODE lang="php"&gt;builtin:tech.generic.cpu.usage:filter(in("dt.entity.process_group_instance", entitySelector("type(~"PROCESS_GROUP_INSTANCE~"),entityName.equals(~"YOUR PROCESS~")"))):splitBy("dt.entity.process_group_instance"):parents&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:08:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241168#M4266</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-03-27T09:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding hostname in the metric event description</title>
      <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241169#M4267</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/40713"&gt;@PacoPorro&lt;/a&gt;. If I understand correctly, we can't have "hostname" in the event template description if I intend to use metric key rather than metric selector?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:18:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241169#M4267</guid>
      <dc:creator>SrikanthSamraj</dc:creator>
      <dc:date>2024-03-27T09:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Adding hostname in the metric event description</title>
      <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241172#M4268</link>
      <description>&lt;P&gt;As you can see in the metric explorer the only available dimension is the process group instance, so you want be able&amp;nbsp; to get it directly.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PacoPorro_0-1711531750012.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18539i3818756FE43FB4F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PacoPorro_0-1711531750012.png" alt="PacoPorro_0-1711531750012.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can also create a tag "host" with the host detected name, and add the "tags placeholder" to the event.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:31:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241172#M4268</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-03-27T09:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Adding hostname in the metric event description</title>
      <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241173#M4269</link>
      <description>&lt;P&gt;I'm using below one now,&lt;/P&gt;&lt;P&gt;&lt;EM&gt;builtin:tech.generic.cpu.usage:filter(and(or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),fromRelationship.isInstanceOf(type(PROCESS_GROUP),tag(~"XXXXXX~"))"))),or(in("dt.entity.process_group_instance",entitySelector("type(process_group_instance),fromRelationship.isProcessOf(type(HOST),osType(~"LINUX~"))"))))):splitBy("dt.entity.process_group_instance"):parents&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like you said it does give hostname, process group and cpu usage in %. Only thing I worry is, dimension limits. We have a large server set ~10K Linux hosts.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:36:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241173#M4269</guid>
      <dc:creator>SrikanthSamraj</dc:creator>
      <dc:date>2024-03-27T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding hostname in the metric event description</title>
      <link>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241177#M4270</link>
      <description>&lt;P&gt;This time with usage of above metric explorer, I can get options to populate hostname in the event template description, but as expected trouble is with dimension limits.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SrikanthSamraj_1-1711532441212.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/18541i09458417CC3D8945/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SrikanthSamraj_1-1711532441212.png" alt="SrikanthSamraj_1-1711532441212.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 09:41:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Adding-hostname-in-the-metric-event-description/m-p/241177#M4270</guid>
      <dc:creator>SrikanthSamraj</dc:creator>
      <dc:date>2024-03-27T09:41:52Z</dc:date>
    </item>
  </channel>
</rss>

