<?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: Link custom metric event to a management zone in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Link-custom-metric-event-to-a-management-zone/m-p/248827#M4591</link>
    <description>&lt;P&gt;Hey,&lt;BR /&gt;If it is for a problem then consider this as a workaround.&lt;BR /&gt;You can add properties to a event when you create metric events under anomaly detection. There are certain event properties which help you achieve what you are thinking to. You can refer to them here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/events-v2/get-event-properties" target="_blank"&gt;Events API v2 - GET all event properties - Dynatrace Docs&lt;/A&gt;&lt;BR /&gt;As an example, I can show you how relate your event to a particular host.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maheedhar_T_0-1718946444368.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20680i7F2ADB0E0BF8EACA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maheedhar_T_0-1718946444368.png" alt="Maheedhar_T_0-1718946444368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The dimension key allows the event to prioritize and entity and link the related event to it. Let's say you have defined both process_group and host in the properties, the default thing Davis does is that it relates your problem to the process_group but if you want to override that and want this at a host level you can select the dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2024 05:09:55 GMT</pubDate>
    <dc:creator>Maheedhar_T</dc:creator>
    <dc:date>2024-06-21T05:09:55Z</dc:date>
    <item>
      <title>Link custom metric event to a management zone</title>
      <link>https://community.dynatrace.com/t5/Alerting/Link-custom-metric-event-to-a-management-zone/m-p/248750#M4587</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let's say we have the following metric expression:&lt;/P&gt;&lt;P&gt;(calc:service.getloyaltycalls:splitBy():sort(value(auto,descending)):limit(20) / builtin:service.requestCount.total:filter(and(or(in("dt.entity.service",entitySelector("type(service),entityName.equals(~"BookingService~")"))))):splitBy():sort(value(auto,descending)):limit(20)) * 100&lt;BR /&gt;&lt;BR /&gt;The first metric (getloyaltycalls) is defined for a service under the same management zone of the bookingService. However, since this expression doesn't have a specific entity to split by, it is not linked to the entities management zones.&lt;BR /&gt;&lt;BR /&gt;Can you think of any creative way that will allow for such linkage? this is needed to be included as part of users permissions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 12:26:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Link-custom-metric-event-to-a-management-zone/m-p/248750#M4587</guid>
      <dc:creator>gilgi</dc:creator>
      <dc:date>2024-06-20T12:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Link custom metric event to a management zone</title>
      <link>https://community.dynatrace.com/t5/Alerting/Link-custom-metric-event-to-a-management-zone/m-p/248827#M4591</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;If it is for a problem then consider this as a workaround.&lt;BR /&gt;You can add properties to a event when you create metric events under anomaly detection. There are certain event properties which help you achieve what you are thinking to. You can refer to them here&amp;nbsp;&lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/events-v2/get-event-properties" target="_blank"&gt;Events API v2 - GET all event properties - Dynatrace Docs&lt;/A&gt;&lt;BR /&gt;As an example, I can show you how relate your event to a particular host.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maheedhar_T_0-1718946444368.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/20680i7F2ADB0E0BF8EACA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maheedhar_T_0-1718946444368.png" alt="Maheedhar_T_0-1718946444368.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The dimension key allows the event to prioritize and entity and link the related event to it. Let's say you have defined both process_group and host in the properties, the default thing Davis does is that it relates your problem to the process_group but if you want to override that and want this at a host level you can select the dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 05:09:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Link-custom-metric-event-to-a-management-zone/m-p/248827#M4591</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2024-06-21T05:09:55Z</dc:date>
    </item>
  </channel>
</rss>

