<?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: Metric Ingestion - Query in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222460#M2787</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;Both nodes are sending separate metric key sharing the same below along with screenshots.&lt;BR /&gt;Metric in Live server&lt;/P&gt;&lt;P&gt;icardonline.prod.host119.FALCON.55382&lt;/P&gt;&lt;P&gt;Metric in Fallback server&lt;/P&gt;&lt;P&gt;icardonline.prodfb.host118.FALCON.55382&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2023 05:43:51 GMT</pubDate>
    <dc:creator>Hasan</dc:creator>
    <dc:date>2023-09-07T05:43:51Z</dc:date>
    <item>
      <title>Metric Ingestion - Query</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222256#M2785</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Using metric ingest we have created a metric which is configured for 2 servers (1 live server and 1 is fallback server ), the client wants alert to be generated only when both the nodes are not fulfilling the requests, refer screen below for a sample metric created, kindly advise how we can fulfil this.&lt;BR /&gt;&lt;/SPAN&gt;Please note&lt;STRONG&gt;: &lt;/STRONG&gt;&lt;SPAN&gt;with the current configured metric we are getting alerts for both the nodes as separate alert.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:51:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222256#M2785</guid>
      <dc:creator>Hasan</dc:creator>
      <dc:date>2025-03-19T12:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Metric Ingestion - Query</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222406#M2786</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/46403"&gt;@Hasan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am assuming both nodes are will send the same metric key.&lt;/P&gt;&lt;P&gt;When both of them fail no metric data points will be sent into Dynatrace so data will be missing&lt;/P&gt;&lt;P&gt;-&amp;gt;&amp;nbsp;"alertOnNoData": true,&lt;/P&gt;&lt;P&gt;Using a metric event like following would alert you if the metric is completely missing, i.e. primary and secondary both have failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[{
    "schemaId": "builtin:anomaly-detection.metric-events",
    "schemaVersion": "1.0.15",
    "scope": "environment",
    "value": {
      "enabled": true,
      "summary": "Important Metric is missing",
      "queryDefinition": {
        "type": "METRIC_SELECTOR",
        "metricSelector": "very.important.metric.that.has.to.be.there",
        "managementZone": null,
        "queryOffset": null
      },
      "modelProperties": {
        "type": "STATIC_THRESHOLD",
        "threshold": -1,
        "alertOnNoData": true,
        "alertCondition": "BELOW",
        "violatingSamples": 3,
        "samples": 5,
        "dealertingSamples": 5
      },
      "eventTemplate": {
        "title": "Very important metric is missing",
        "description": "The {metricname} value was {alert_condition} normal behavior.",
        "eventType": "AVAILABILITY",
        "davisMerge": true,
        "metadata": []
      },
      "eventEntityDimensionKey": null,
      "legacyId": null
    }
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 11:35:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222406#M2786</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2023-09-06T11:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Metric Ingestion - Query</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222460#M2787</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Mark,&lt;/SPAN&gt;&lt;BR /&gt;Both nodes are sending separate metric key sharing the same below along with screenshots.&lt;BR /&gt;Metric in Live server&lt;/P&gt;&lt;P&gt;icardonline.prod.host119.FALCON.55382&lt;/P&gt;&lt;P&gt;Metric in Fallback server&lt;/P&gt;&lt;P&gt;icardonline.prodfb.host118.FALCON.55382&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2023 05:43:51 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222460#M2787</guid>
      <dc:creator>Hasan</dc:creator>
      <dc:date>2023-09-07T05:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Metric Ingestion - Query</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222714#M2795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/46403"&gt;@Hasan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot recommend using dimensions in the metric key, that is what metric dimensions are for.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dynatrace.com/support/help/shortlink/metric-ingestion-protocol" target="_blank"&gt;https://www.dynatrace.com/support/help/shortlink/metric-ingestion-protocol&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You would send a metric line like this and both hosts would send this with different dimension values e.g.:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;icardonline,stage=prodfb,host=host118.FALCON.5538 &amp;lt;metric data&amp;gt;
icardonline,stage=prod,host=host119.FALCON.55382 &amp;lt;metric data&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do not want or cannot use above's format, you still could use a metric query in the metric event adding up both metrics and alerting if data is missing, but again this is not recommended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 10:05:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/Metric-Ingestion-Query/m-p/222714#M2795</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2023-09-11T10:05:37Z</dc:date>
    </item>
  </channel>
</rss>

