<?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>article Why are my OpenTelemetry metrics not ingested in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Why-are-my-OpenTelemetry-metrics-not-ingested/ta-p/269428</link>
    <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H1&gt;Problem&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When sending OpenTelemetry metrics to Dynatrace several validations are performed on the data which may result in it not being ingested. Here are the main causes for metric rejection:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Metrics with cumulative aggregation temporality&lt;/LI&gt;
&lt;LI&gt;Too many attributes on a metric&lt;/LI&gt;
&lt;LI&gt;Too many metrics in the payload&lt;/LI&gt;
&lt;LI&gt;Unsupported metric types&lt;/LI&gt;
&lt;LI&gt;Invalid characters in metric name&lt;/LI&gt;
&lt;LI&gt;Invalid metric values&lt;/LI&gt;
&lt;LI&gt;Wrong export URL&lt;/LI&gt;
&lt;LI&gt;Missing or malformed API token&lt;/LI&gt;
&lt;LI&gt;Too large OTLP message&lt;/LI&gt;
&lt;/UL&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;H1&gt;Troubleshooting Steps&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a combination of the HTTP response body and Dynatrace self-monitoring metrics to aid you in finding out what is wrong and how you can address it. In the response body, look out for messages such this:&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;The following issues were encountered while ingesting OTLP metrics:

Errors:

Unsupported metric: 'my.cumulative.counter' - Reason: UNSUPPORTED_METRIC_TYPE_MONOTONIC_CUMULATIVE_SUM

Unsupported metric: 'my.summary' - Reason: UNSUPPORTED_METRIC_TYPE_SUMMARY

Histogram metric dropped. key: 'my.histogram' details: 'Histogram boundaries are not sorted' - Reason: HISTOGRAM_BUCKET_INVALID

Metric dropped: 'my.metric.many.attributes' - Reason: DIMENSION_COUNT_EXCEEDED&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For an overview of what is being rejected and why, you can use the OTLP datapoints rejected self-monitoring metric: (&lt;FONT face="courier new,courier"&gt;dsfm.active_gate.metrics.ingest.otlp.datapoints.rejected&lt;/FONT&gt; ) and split by &lt;FONT face="courier new,courier"&gt;reason.&lt;/FONT&gt;This will show you all the reasons why metrics are being rejected.&lt;/P&gt;
&lt;P&gt;Note that in this view it is not possible to see the metric names.&lt;/P&gt;
&lt;H1&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rejected metrics, split by reason" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26250iC3FBDE02A1DED329/image-size/large?v=v2&amp;amp;px=999" role="button" title="otlp-metrics-rejected.png" alt="Rejected metrics, split by reason" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Rejected metrics, split by reason&lt;/span&gt;&lt;/span&gt;&lt;/H1&gt;
&lt;P&gt;For API related errors, such as API token issues or too large requests, you can use the following self-monitoring metrics, both filtered by &lt;FONT face="courier new,courier"&gt;operation=POST /otlp/v1/metrics&lt;/FONT&gt; and split by &lt;FONT face="courier new,courier"&gt;response_codes:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;dsfm.active_gate.rest.request_count&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;dsfm.active_gate.rest.request_size&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H1&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Count of OTLP metric requests, split by response code" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26251iBA9FEB3C70272272/image-size/large?v=v2&amp;amp;px=999" role="button" title="otlp-metrics-request-count.png" alt="Count of OTLP metric requests, split by response code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Count of OTLP metric requests, split by response code&lt;/span&gt;&lt;/span&gt;&lt;/H1&gt;
&lt;H1&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Size of OTLP metric requests, split by response code" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26252i5AB48D6AE30C7033/image-size/large?v=v2&amp;amp;px=999" role="button" title="otlp-metrics-request-size.png" alt="Size of OTLP metric requests, split by response code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Size of OTLP metric requests, split by response code&lt;/span&gt;&lt;/span&gt;&lt;/H1&gt;
&lt;P&gt;Tip: You can also additionally split by &lt;FONT face="courier new,courier"&gt;user_agent&lt;/FONT&gt; to help in finding out from which type of client the requests are coming from (e.g., OTel collector, OTel Java SDK).&lt;/P&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;H1&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The combination of error messages included in the HTTP response and the self-monitoring metrics should give you useful information to help find out what is wrong and how to fix it.&lt;/P&gt;
&lt;P&gt;For example, for errors mentioning “Cumulative”, you need to &lt;A href="https://community.dynatrace.com/t5/Troubleshooting/How-to-set-up-OpenTelemetry-metrics-with-delta-temporality/ta-p/269292" target="_blank" rel="noopener"&gt;change the aggregation temporality&lt;/A&gt; to “delta”. For errors such as &lt;FONT face="courier new,courier"&gt;DIMENSION_COUNT_EXCEEDED&lt;/FONT&gt; you need to adapt the metric generation to make sure the number of recorded attributes stay &lt;A href="https://docs.dynatrace.com/docs/shortlink/opentelemetry-metrics-limitations" target="_blank" rel="noopener"&gt;under the limits&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For request too large errors, one good strategy is to use the &lt;A href="https://docs.dynatrace.com/docs/ingest-from/opentelemetry/collector/use-cases/batch" target="_blank" rel="noopener"&gt;batch processor in the OpenTelemetry collector&lt;/A&gt;, to split metrics into smaller batches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Further Support&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any further questions or encounter any issues not listed above, please feel free to contact our&amp;nbsp;&lt;A href="https://support.dynatrace.com/" target="_blank" rel="noopener noreferrer"&gt;support team&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Dec 2025 16:12:52 GMT</pubDate>
    <dc:creator>joaograssi</dc:creator>
    <dc:date>2025-12-12T16:12:52Z</dc:date>
    <item>
      <title>Why are my OpenTelemetry metrics not ingested</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Why-are-my-OpenTelemetry-metrics-not-ingested/ta-p/269428</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;H1&gt;Problem&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When sending OpenTelemetry metrics to Dynatrace several validations are performed on the data which may result in it not being ingested. Here are the main causes for metric rejection:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Metrics with cumulative aggregation temporality&lt;/LI&gt;
&lt;LI&gt;Too many attributes on a metric&lt;/LI&gt;
&lt;LI&gt;Too many metrics in the payload&lt;/LI&gt;
&lt;LI&gt;Unsupported metric types&lt;/LI&gt;
&lt;LI&gt;Invalid characters in metric name&lt;/LI&gt;
&lt;LI&gt;Invalid metric values&lt;/LI&gt;
&lt;LI&gt;Wrong export URL&lt;/LI&gt;
&lt;LI&gt;Missing or malformed API token&lt;/LI&gt;
&lt;LI&gt;Too large OTLP message&lt;/LI&gt;
&lt;/UL&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;H1&gt;Troubleshooting Steps&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use a combination of the HTTP response body and Dynatrace self-monitoring metrics to aid you in finding out what is wrong and how you can address it. In the response body, look out for messages such this:&lt;/P&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;The following issues were encountered while ingesting OTLP metrics:

Errors:

Unsupported metric: 'my.cumulative.counter' - Reason: UNSUPPORTED_METRIC_TYPE_MONOTONIC_CUMULATIVE_SUM

Unsupported metric: 'my.summary' - Reason: UNSUPPORTED_METRIC_TYPE_SUMMARY

Histogram metric dropped. key: 'my.histogram' details: 'Histogram boundaries are not sorted' - Reason: HISTOGRAM_BUCKET_INVALID

Metric dropped: 'my.metric.many.attributes' - Reason: DIMENSION_COUNT_EXCEEDED&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For an overview of what is being rejected and why, you can use the OTLP datapoints rejected self-monitoring metric: (&lt;FONT face="courier new,courier"&gt;dsfm.active_gate.metrics.ingest.otlp.datapoints.rejected&lt;/FONT&gt; ) and split by &lt;FONT face="courier new,courier"&gt;reason.&lt;/FONT&gt;This will show you all the reasons why metrics are being rejected.&lt;/P&gt;
&lt;P&gt;Note that in this view it is not possible to see the metric names.&lt;/P&gt;
&lt;H1&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rejected metrics, split by reason" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26250iC3FBDE02A1DED329/image-size/large?v=v2&amp;amp;px=999" role="button" title="otlp-metrics-rejected.png" alt="Rejected metrics, split by reason" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Rejected metrics, split by reason&lt;/span&gt;&lt;/span&gt;&lt;/H1&gt;
&lt;P&gt;For API related errors, such as API token issues or too large requests, you can use the following self-monitoring metrics, both filtered by &lt;FONT face="courier new,courier"&gt;operation=POST /otlp/v1/metrics&lt;/FONT&gt; and split by &lt;FONT face="courier new,courier"&gt;response_codes:&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;dsfm.active_gate.rest.request_count&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;dsfm.active_gate.rest.request_size&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;H1&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Count of OTLP metric requests, split by response code" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26251iBA9FEB3C70272272/image-size/large?v=v2&amp;amp;px=999" role="button" title="otlp-metrics-request-count.png" alt="Count of OTLP metric requests, split by response code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Count of OTLP metric requests, split by response code&lt;/span&gt;&lt;/span&gt;&lt;/H1&gt;
&lt;H1&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Size of OTLP metric requests, split by response code" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/26252i5AB48D6AE30C7033/image-size/large?v=v2&amp;amp;px=999" role="button" title="otlp-metrics-request-size.png" alt="Size of OTLP metric requests, split by response code" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Size of OTLP metric requests, split by response code&lt;/span&gt;&lt;/span&gt;&lt;/H1&gt;
&lt;P&gt;Tip: You can also additionally split by &lt;FONT face="courier new,courier"&gt;user_agent&lt;/FONT&gt; to help in finding out from which type of client the requests are coming from (e.g., OTel collector, OTel Java SDK).&lt;/P&gt;
&lt;H1&gt;&amp;nbsp;&lt;/H1&gt;
&lt;H1&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The combination of error messages included in the HTTP response and the self-monitoring metrics should give you useful information to help find out what is wrong and how to fix it.&lt;/P&gt;
&lt;P&gt;For example, for errors mentioning “Cumulative”, you need to &lt;A href="https://community.dynatrace.com/t5/Troubleshooting/How-to-set-up-OpenTelemetry-metrics-with-delta-temporality/ta-p/269292" target="_blank" rel="noopener"&gt;change the aggregation temporality&lt;/A&gt; to “delta”. For errors such as &lt;FONT face="courier new,courier"&gt;DIMENSION_COUNT_EXCEEDED&lt;/FONT&gt; you need to adapt the metric generation to make sure the number of recorded attributes stay &lt;A href="https://docs.dynatrace.com/docs/shortlink/opentelemetry-metrics-limitations" target="_blank" rel="noopener"&gt;under the limits&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;For request too large errors, one good strategy is to use the &lt;A href="https://docs.dynatrace.com/docs/ingest-from/opentelemetry/collector/use-cases/batch" target="_blank" rel="noopener"&gt;batch processor in the OpenTelemetry collector&lt;/A&gt;, to split metrics into smaller batches.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;Further Support&lt;/H1&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any further questions or encounter any issues not listed above, please feel free to contact our&amp;nbsp;&lt;A href="https://support.dynatrace.com/" target="_blank" rel="noopener noreferrer"&gt;support team&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 16:12:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Why-are-my-OpenTelemetry-metrics-not-ingested/ta-p/269428</guid>
      <dc:creator>joaograssi</dc:creator>
      <dc:date>2025-12-12T16:12:52Z</dc:date>
    </item>
  </channel>
</rss>

