<?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: The temporality configuration set up is not working for the OpenTelemetry Spring Boot starter in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Temporality-configuration-setup-is-not-working-for-the/m-p/282244#M37161</link>
    <description>&lt;P&gt;The&amp;nbsp;application.yaml from Spring Boot follows the same property names as for the application.properties one.&lt;/P&gt;&lt;P&gt;For the latter, the temporality can be specified as:&lt;/P&gt;&lt;PRE&gt;otel.exporter.otlp.metrics.temporality.preference=DELTA&lt;/PRE&gt;&lt;P&gt;So, if using the YAML variant, you can do:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;otel:
  service:
    name: my-service
  exporter:
    otlp:
      metrics:
        temporality:
          preference: DELTA&lt;/LI-CODE&gt;&lt;P&gt;Also, to make the config smaller, if you are sending all telemetry types Dynatrace (traces, metrics and logs) you can shorten the config by using the top-level endpoint property. Like so:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;otel:
  service:
    name: my-service
  exporter:
    otlp:
      protocol: http/protobuf
      endpoint: https://{environmentid}.live.dynatrace.com/api/v2/otlp
      headers: Authorization=Api-Token token
      metrics:
        temporality:
          preference: DELTA&lt;/LI-CODE&gt;&lt;P&gt;For a full view of the SDK configuration, see: &lt;A href="https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/sdk-configuration/" target="_blank" rel="noopener"&gt;https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/sdk-configuration/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2025 15:02:09 GMT</pubDate>
    <dc:creator>joaograssi</dc:creator>
    <dc:date>2025-07-24T15:02:09Z</dc:date>
    <item>
      <title>Temporality configuration setup is not working for the OpenTelemetry Spring Boot starter</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Temporality-configuration-setup-is-not-working-for-the/m-p/281889#M37127</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I've successfully integrated the OpenTelemetry Spring Boot Starter with my Java application, and everything is working smoothly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Now, I'm exploring how to change the metrics' temporality to &lt;EM&gt;Delta&lt;/EM&gt;. So far, I've attempted the following configuration steps:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;1. Using application.yml&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;otel&lt;/SPAN&gt;:&lt;BR /&gt;  &lt;SPAN&gt;service&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;name&lt;/SPAN&gt;: my-service&lt;BR /&gt;  &lt;SPAN&gt;logs&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;exporter&lt;/SPAN&gt;: none&lt;BR /&gt;  &lt;SPAN&gt;propagators&lt;/SPAN&gt;: tracecontext&lt;BR /&gt;  &lt;SPAN&gt;exporter&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;otlp&lt;/SPAN&gt;:&lt;BR /&gt;      &lt;SPAN&gt;protocol&lt;/SPAN&gt;: http/protobuf&lt;BR /&gt;      &lt;SPAN&gt;traces&lt;/SPAN&gt;:&lt;BR /&gt;        &lt;SPAN&gt;endpoint&lt;/SPAN&gt;: https://base/api/v2/otlp/v1/traces&lt;BR /&gt;        &lt;SPAN&gt;exporter&lt;/SPAN&gt;:&lt;BR /&gt;          &lt;SPAN&gt;interval&lt;/SPAN&gt;: 60000&lt;BR /&gt;      &lt;SPAN&gt;metrics&lt;/SPAN&gt;:&lt;BR /&gt;        &lt;SPAN&gt;endpoint&lt;/SPAN&gt;: https://base/api/v2/otlp/v1/metrics&lt;BR /&gt;        &lt;SPAN&gt;aggregation_temporality&lt;/SPAN&gt;:&lt;BR /&gt;          &lt;SPAN&gt;counter&lt;/SPAN&gt;: delta      &lt;SPAN&gt;# or delta&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;        #          histogram: delta&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;        #          observable_gauge: cumulative&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;exporter&lt;/SPAN&gt;:&lt;BR /&gt;          &lt;SPAN&gt;interval&lt;/SPAN&gt;: 60000&lt;BR /&gt;        &lt;SPAN&gt;enabled&lt;/SPAN&gt;: true&lt;BR /&gt;      &lt;SPAN&gt;headers&lt;/SPAN&gt;: Authorization=Api-Token token&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;2. Using env variable&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class=""&gt;OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Unfortunately, none of the approaches I've tried so far have worked. Has anyone encountered a similar issue or found a working solution?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any guidance would be greatly appreciated—thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 12:13:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Temporality-configuration-setup-is-not-working-for-the/m-p/281889#M37127</guid>
      <dc:creator>sivakumarp</dc:creator>
      <dc:date>2025-12-30T12:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: The temporality configuration set up is not working for the OpenTelemetry Spring Boot starter</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Temporality-configuration-setup-is-not-working-for-the/m-p/282244#M37161</link>
      <description>&lt;P&gt;The&amp;nbsp;application.yaml from Spring Boot follows the same property names as for the application.properties one.&lt;/P&gt;&lt;P&gt;For the latter, the temporality can be specified as:&lt;/P&gt;&lt;PRE&gt;otel.exporter.otlp.metrics.temporality.preference=DELTA&lt;/PRE&gt;&lt;P&gt;So, if using the YAML variant, you can do:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;otel:
  service:
    name: my-service
  exporter:
    otlp:
      metrics:
        temporality:
          preference: DELTA&lt;/LI-CODE&gt;&lt;P&gt;Also, to make the config smaller, if you are sending all telemetry types Dynatrace (traces, metrics and logs) you can shorten the config by using the top-level endpoint property. Like so:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;otel:
  service:
    name: my-service
  exporter:
    otlp:
      protocol: http/protobuf
      endpoint: https://{environmentid}.live.dynatrace.com/api/v2/otlp
      headers: Authorization=Api-Token token
      metrics:
        temporality:
          preference: DELTA&lt;/LI-CODE&gt;&lt;P&gt;For a full view of the SDK configuration, see: &lt;A href="https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/sdk-configuration/" target="_blank" rel="noopener"&gt;https://opentelemetry.io/docs/zero-code/java/spring-boot-starter/sdk-configuration/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 15:02:09 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Temporality-configuration-setup-is-not-working-for-the/m-p/282244#M37161</guid>
      <dc:creator>joaograssi</dc:creator>
      <dc:date>2025-07-24T15:02:09Z</dc:date>
    </item>
  </channel>
</rss>

