<?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: Alerting for SQL queries in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197288#M3208</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/50988"&gt;@KVZ&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to customize the alerting of a particular database.&amp;nbsp;On the database section you need to go to a database that you are interested in and go to it's settings (click on three dots). Then you will be able to adjust the alerting.&amp;nbsp;You can define a threshold of the response time alerting.&amp;nbsp;It's a bit limited, but you can define that if N % of queries take more than a minute then Dynatrace will report about this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 08:30:57 GMT</pubDate>
    <dc:creator>MateuszKacprzak</dc:creator>
    <dc:date>2022-10-27T08:30:57Z</dc:date>
    <item>
      <title>Alerting for SQL queries</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197286#M3207</link>
      <description>&lt;P&gt;Is there a way to create alerts for SQL statement that run longer than 1 min for example, in a specific application?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 06:43:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197286#M3207</guid>
      <dc:creator>KVZ</dc:creator>
      <dc:date>2022-10-27T06:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for SQL queries</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197288#M3208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/50988"&gt;@KVZ&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to customize the alerting of a particular database.&amp;nbsp;On the database section you need to go to a database that you are interested in and go to it's settings (click on three dots). Then you will be able to adjust the alerting.&amp;nbsp;You can define a threshold of the response time alerting.&amp;nbsp;It's a bit limited, but you can define that if N % of queries take more than a minute then Dynatrace will report about this situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mateusz&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 08:30:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197288#M3208</guid>
      <dc:creator>MateuszKacprzak</dc:creator>
      <dc:date>2022-10-27T08:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for SQL queries</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197300#M3209</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/50988"&gt;@KVZ&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would do the following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a multidimension analysis view about the slow database statements (&amp;gt;1s) and a mteric about it:&lt;/P&gt;&lt;P&gt;In one of my environment there are many statements above 1 sec...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1666864472551.png" style="width: 772px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8247i4585F87A3FE0A688/image-dimensions/772x434?v=v2" width="772" height="434" role="button" title="Mizs_0-1666864472551.png" alt="Mizs_0-1666864472551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At least one metric point should be generated in order to be able to browse it in the metrics or data explorer (after than you can create dashboard or a custom alert): dimension would be your database statements. In the example I focus only to the top ten (Limit =10). Slow database statement metric is the new metric which one created from the MDA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_1-1666864781991.png" style="width: 756px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8248i5209FF5847B2A7A5/image-dimensions/756x382?v=v2" width="756" height="382" role="button" title="Mizs_1-1666864781991.png" alt="Mizs_1-1666864781991.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At anomaly detection you can use the build or code mode version of the new metric. eg in this case code mode filtered for a specific DB service (from the Database menu).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_2-1666865084712.png" style="width: 737px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8249i715EB2D9775332E8/image-dimensions/737x365?v=v2" width="737" height="365" role="button" title="Mizs_2-1666865084712.png" alt="Mizs_2-1666865084712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At anomaly detection rule:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_3-1666865206619.png" style="width: 717px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8250i421DEC0978B84C7E/image-dimensions/717x194?v=v2" width="717" height="194" role="button" title="Mizs_3-1666865206619.png" alt="Mizs_3-1666865206619.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the preview for a static threshold (1 occurance within a predefined time frame) and an expected red line for the problem (and finally an alert):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_4-1666865361443.png" style="width: 721px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/8251i49BD5DE855AB34DE/image-dimensions/721x373?v=v2" width="721" height="373" role="button" title="Mizs_4-1666865361443.png" alt="Mizs_4-1666865361443.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you had an alert you would only check the data explorer (or the created dashboard about it) or the saved multidimension view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps. Have a nice day.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 11:13:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/197300#M3209</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2022-10-27T11:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for SQL queries</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/221521#M3747</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;We are working on&amp;nbsp; a similar scenario and wanted to send notification which crosses 1 min threshold value. However we cannot navigate to anomaly detection rule. Can you please help us in identifying the section where we can find this option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Debraj&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 14:25:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/221521#M3747</guid>
      <dc:creator>DebrajG</dc:creator>
      <dc:date>2023-08-24T14:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Alerting for SQL queries</title>
      <link>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/221529#M3748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/66247"&gt;@DebrajG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can create a metric event here:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mizs_0-1692888884860.png" style="width: 602px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/13794iADE2BF0EF098CE88/image-dimensions/602x441?v=v2" width="602" height="441" role="button" title="Mizs_0-1692888884860.png" alt="Mizs_0-1692888884860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It will open a problem then you can create an alerting profile and problem notification integration in the settings.&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mizső&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 14:55:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Alerting-for-SQL-queries/m-p/221529#M3748</guid>
      <dc:creator>Mizső</dc:creator>
      <dc:date>2023-08-24T14:55:50Z</dc:date>
    </item>
  </channel>
</rss>

