<?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: Tags in metric events in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263866#M5110</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I wanted to inform you that I was able to assign a tag to a custom event by following the steps below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Settings &amp;gt; Alerting&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;Problem alerting profiles&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Choose the desired &lt;STRONG&gt;alerting profile&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Expand the profile settings.&lt;/LI&gt;&lt;LI&gt;Look for &lt;STRONG&gt;"Event Filters"&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Click on &lt;STRONG&gt;Add event filter&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Configure the filter as needed for the alert.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Additionally, I encountered an issue with the metric that was previously configured. It had the following fields:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previous Metric Selector:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;builtin:cloud.aws.alb.connections.new:filter(and(or(in("dt.entity.aws_application_load_balancer",entitySelector("type(aws_application_load_balancer),entityName.equals(~"alb-private-******~")"))))):splitBy():sort(value(auto,descending)):limit(20)&lt;/PRE&gt;&lt;P&gt;The issue was with the use of the splitBy():sort(value(auto,descending)):limit(20) command, which seemed to cause a conflict. After removing it, the alert started working correctly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Updated Metric Selector:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;builtin:cloud.aws.alb.connections.new:filter(and(or(in("dt.entity.aws_application_load_balancer",entitySelector("type(aws_application_load_balancer),entityName.equals(~"alb-private-******~")")))))&lt;/PRE&gt;&lt;P&gt;Now, the configuration is working properly, and alerts are being generated as expected.&lt;/P&gt;&lt;P&gt;If anyone has questions or needs further information, feel free to reach out!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Gustavo&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2024 14:51:47 GMT</pubDate>
    <dc:creator>gustavodutra</dc:creator>
    <dc:date>2024-11-27T14:51:47Z</dc:date>
    <item>
      <title>Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263725#M5102</link>
      <description>&lt;P&gt;Is it possible to create a tag for metrics events? I created an event based on the metric "builtin:cloud.aws.alb.connections.new," and it's working fine. Here is an example image:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gustavodutra_0-1732639505328.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/24867i8B294A1928158907/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gustavodutra_0-1732639505328.png" alt="gustavodutra_0-1732639505328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But I need to add a tag to this item so that when I receive an alert, it can be forwarded to ServiceNow to start an incident. However, I am unable to add a tag to this type of event, and I would like to know if there is any way to do this.&lt;BR /&gt;&lt;BR /&gt;My metric event:&lt;BR /&gt;&lt;BR /&gt;builtin:cloud.aws.alb.connections.new:filter(and(or(in("dt.entity.aws_application_load_balancer",entitySelector("type(aws_application_load_balancer),entityName.equals(~"alb-private-*****~")"))))):splitBy():sort(value(auto,descending)):limit(20)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 08:19:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263725#M5102</guid>
      <dc:creator>gustavodutra</dc:creator>
      <dc:date>2024-11-27T08:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263732#M5104</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not sure if you can add a tag to a metric event. You can always adding metric event to alerting profile (base on properties, title or another event filter.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 17:44:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263732#M5104</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2024-11-26T17:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263737#M5105</link>
      <description>&lt;P&gt;Could you give me an example of how to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 18:41:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263737#M5105</guid>
      <dc:creator>gustavodutra</dc:creator>
      <dc:date>2024-11-26T18:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263757#M5107</link>
      <description>&lt;P&gt;You can try to add the tags to filter entity, it may use the tags in problem out put.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 06:32:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263757#M5107</guid>
      <dc:creator>VenkataSainath</dc:creator>
      <dc:date>2024-11-27T06:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263772#M5108</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/56702"&gt;@gustavodutra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PFA Doc URL:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/how-to-set-up/metric-events" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/how-to-set-up/metric-events&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/how-to-set-up/metric-events/metric-selector-events" target="_blank"&gt;https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/anomaly-detection/set-up-a-customized-anomaly-detector/how-to-set-up/metric-events/metric-selector-events&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.youtube.com/watch?v=NVuiTwOYHQA" target="_blank"&gt;https://www.youtube.com/watch?v=NVuiTwOYHQA&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hoping it helps.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 09:05:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263772#M5108</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-11-27T09:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263866#M5110</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I wanted to inform you that I was able to assign a tag to a custom event by following the steps below:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Settings &amp;gt; Alerting&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;Problem alerting profiles&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Choose the desired &lt;STRONG&gt;alerting profile&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Expand the profile settings.&lt;/LI&gt;&lt;LI&gt;Look for &lt;STRONG&gt;"Event Filters"&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Click on &lt;STRONG&gt;Add event filter&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Configure the filter as needed for the alert.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Additionally, I encountered an issue with the metric that was previously configured. It had the following fields:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Previous Metric Selector:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;builtin:cloud.aws.alb.connections.new:filter(and(or(in("dt.entity.aws_application_load_balancer",entitySelector("type(aws_application_load_balancer),entityName.equals(~"alb-private-******~")"))))):splitBy():sort(value(auto,descending)):limit(20)&lt;/PRE&gt;&lt;P&gt;The issue was with the use of the splitBy():sort(value(auto,descending)):limit(20) command, which seemed to cause a conflict. After removing it, the alert started working correctly.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Updated Metric Selector:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;builtin:cloud.aws.alb.connections.new:filter(and(or(in("dt.entity.aws_application_load_balancer",entitySelector("type(aws_application_load_balancer),entityName.equals(~"alb-private-******~")")))))&lt;/PRE&gt;&lt;P&gt;Now, the configuration is working properly, and alerts are being generated as expected.&lt;/P&gt;&lt;P&gt;If anyone has questions or needs further information, feel free to reach out!&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Gustavo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 14:51:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263866#M5110</guid>
      <dc:creator>gustavodutra</dc:creator>
      <dc:date>2024-11-27T14:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Tags in metric events</title>
      <link>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263878#M5113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/56702"&gt;@gustavodutra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the updates and sharing the results.&lt;/P&gt;&lt;P&gt;Good Job.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 16:31:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Tags-in-metric-events/m-p/263878#M5113</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-11-27T16:31:05Z</dc:date>
    </item>
  </channel>
</rss>

