<?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 Create an Alerting Profile for an API in Alerting</title>
    <link>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226939#M3835</link>
    <description>&lt;P&gt;Want to create an alerting profile (send an email) for an API if the failure rate of that API goes above 10%, how can we do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 11:32:17 GMT</pubDate>
    <dc:creator>Munzir</dc:creator>
    <dc:date>2023-11-22T11:32:17Z</dc:date>
    <item>
      <title>Create an Alerting Profile for an API</title>
      <link>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226939#M3835</link>
      <description>&lt;P&gt;Want to create an alerting profile (send an email) for an API if the failure rate of that API goes above 10%, how can we do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 11:32:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226939#M3835</guid>
      <dc:creator>Munzir</dc:creator>
      <dc:date>2023-11-22T11:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create an ALerting Profile for an API</title>
      <link>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226956#M3836</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67998"&gt;@Munzir&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you explain for which API you want to create alerting profile? Is this element monitored by OneAgent? Is it an API of some other solution?&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 08:15:40 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226956#M3836</guid>
      <dc:creator>radek_jasinski</dc:creator>
      <dc:date>2023-10-30T08:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create an ALerting Profile for an API</title>
      <link>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226960#M3837</link>
      <description>&lt;P&gt;It is monitored by OneAgent&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 08:29:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/226960#M3837</guid>
      <dc:creator>Munzir</dc:creator>
      <dc:date>2023-10-30T08:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create an Alerting Profile for an API</title>
      <link>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/227876#M3857</link>
      <description>&lt;P&gt;To set up an alert on an API service which triggers at &amp;gt;10% failure rate you can follow these steps.&lt;BR /&gt;&lt;BR /&gt;1. Identify the API service&lt;BR /&gt;2. Open a custom multidimensional analysis&lt;/P&gt;&lt;P&gt;3. select "failure rate" form the metric selector (top left of the multidimensional analysis)&lt;/P&gt;&lt;P&gt;4. Click on create metric - you have now created a metric which looks at the failure rate of your API service.&lt;/P&gt;&lt;P&gt;5. Navigate to settings &amp;gt; anomaly detection &amp;gt; metric events&lt;/P&gt;&lt;P&gt;6. Create your custom metric event based on the metric you just created, specifying your thresholds in the monitoring strategy section.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 13:35:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/227876#M3857</guid>
      <dc:creator>JamesD09</dc:creator>
      <dc:date>2023-11-07T13:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create an ALerting Profile for an API</title>
      <link>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/227880#M3858</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/67998"&gt;@Munzir&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Please find the api for creation the custome metrix for perticular api&lt;/P&gt;&lt;P&gt;-----++++++--------+++++--------&lt;BR /&gt;curl -X 'POST' \&lt;BR /&gt;'https://{my-domain}/e/{my-environment}//api/v2/settings/objects?validateOnly=true' \&lt;BR /&gt;-H 'accept: application/json; charset=utf-8' \&lt;BR /&gt;-H 'Authorization: Api-Token {my-token}' \&lt;BR /&gt;-H 'Content-Type: application/json; charset=utf-8' \&lt;BR /&gt;-d '[&lt;BR /&gt;{&lt;BR /&gt;"schemaId": "builtin:anomaly-detection.metric-events",&lt;BR /&gt;"scope": "environment",&lt;BR /&gt;"schemaVersion": "1.0.15",&lt;BR /&gt;"value": {&lt;BR /&gt;"enabled": true,&lt;BR /&gt;"summary": "Summary of custom metric",&lt;BR /&gt;"queryDefinition": {&lt;BR /&gt;"type": "METRIC_KEY",&lt;BR /&gt;"metricKey": "builtin:service.keyRequest.errors.server.rate",&lt;BR /&gt;"aggregation": "AVG",&lt;BR /&gt;"entityFilter": {&lt;BR /&gt;"dimensionKey": "dt.entity.service_method",&lt;BR /&gt;"conditions": [&lt;BR /&gt;{&lt;BR /&gt;"type": "NAME",&lt;BR /&gt;"operator": "EQUALS",&lt;BR /&gt;"value": "API name with key request"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"dimensionFilter": []&lt;BR /&gt;},&lt;BR /&gt;"modelProperties": {&lt;BR /&gt;"type": "STATIC_THRESHOLD",&lt;BR /&gt;"threshold": 10,&lt;BR /&gt;"alertOnNoData": false,&lt;BR /&gt;"alertCondition": "ABOVE",&lt;BR /&gt;"violatingSamples": 3,&lt;BR /&gt;"samples": 5,&lt;BR /&gt;"dealertingSamples": 5&lt;BR /&gt;},&lt;BR /&gt;"eventTemplate": {&lt;BR /&gt;"title": "Title which requried -5xx-ErrorCount)",&lt;BR /&gt;"description": "The {metricname} value of {severity} was {alert_condition} your custom threshold of {threshold}.",&lt;BR /&gt;"eventType": "CUSTOM_ALERT",&lt;BR /&gt;"davisMerge": true,&lt;BR /&gt;"metadata": []&lt;BR /&gt;},&lt;BR /&gt;"eventEntityDimensionKey": "dt.entity.service_method"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;-----++++++--------+++++--------&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 13:48:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Alerting/Create-an-Alerting-Profile-for-an-API/m-p/227880#M3858</guid>
      <dc:creator>shubham1413</dc:creator>
      <dc:date>2023-11-07T13:48:19Z</dc:date>
    </item>
  </channel>
</rss>

