<?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: Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279901#M36828</link>
    <description>&lt;P&gt;Do you see any metrics sent using OTLP from your container? Can you validate first if the exporter works and is sending the data you need?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2025 06:26:17 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-06-23T06:26:17Z</dc:date>
    <item>
      <title>Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279899#M36827</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have a Camel Quarkus application, and I can successfully view the Camel metrics at&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://localhost:8080/metrics" target="_blank" rel="noopener"&gt;http://localhost:8080/metrics&lt;/A&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="metrics.png" style="width: 629px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28601iB903A444EF08C7A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="metrics.png" alt="metrics.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I’m using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Prometheus&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;extension to expose the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;/metrics&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoint, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Micrometer&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to collect metrics.&lt;/P&gt;
&lt;P&gt;My goal is to send these&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Camel Quarkus metrics&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Dynatrace&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;pom.xml&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;    &amp;lt;!-- Core Micrometer extension --&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;io.quarkus&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;quarkus-micrometer&amp;lt;/artifactId&amp;gt;
    &amp;lt;/dependency&amp;gt;
    
    &amp;lt;!-- Prometheus registry --&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;io.quarkus&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;quarkus-micrometer-registry-prometheus&amp;lt;/artifactId&amp;gt;
    &amp;lt;/dependency&amp;gt;
    
    &amp;lt;!-- Camel Micrometer for route metrics --&amp;gt;
    &amp;lt;dependency&amp;gt;
        &amp;lt;groupId&amp;gt;org.apache.camel.quarkus&amp;lt;/groupId&amp;gt;
        &amp;lt;artifactId&amp;gt;camel-quarkus-micrometer&amp;lt;/artifactId&amp;gt;
    &amp;lt;/dependency&amp;gt;
    
    &amp;lt;dependency&amp;gt;
      &amp;lt;groupId&amp;gt;io.quarkiverse.micrometer.registry&amp;lt;/groupId&amp;gt;
      &amp;lt;artifactId&amp;gt;quarkus-micrometer-registry-otlp&amp;lt;/artifactId&amp;gt;
      &amp;lt;version&amp;gt;2.10.0&amp;lt;/version&amp;gt;
    &amp;lt;/dependency&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;The application is containerized using Docker. I have enabled Dynatrace monitoring on the container, and I’m able to see general metrics like Requests, Traces, CPU, and Memory in Dynatrace. To enable this, I have configured three environment variables for the container (in a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.env&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;file).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;.env file&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DT_TENANT=dwqtest
DT_TENANTTOKEN=PF7test
DT_CONNECTION_POINT=https://{environmentid}.live.dynatrace.com:443&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is my&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;application.properties&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;configuration used to export&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Camel Micrometer metrics&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Dynatrace&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(built in metrics).&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;These same properties are also defined in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;.env file&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and used when building the Docker container.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;application.properties&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;quarkus.micrometer.export.prometheus.enabled=true
quarkus.micrometer.export.prometheus.path=/metrics

quarkus.micrometer.binder.http-server.enabled=true 
quarkus.camel.metrics.enable-instrumented-thread-pool-factory=true

quarkus.micrometer.enabled=true
quarkus.camel.metrics.enable=true

# OTLP exporter
quarkus.micrometer.export.otlp.enabled=true
quarkus.micrometer.export.otlp.url=https://{environmentid}.live.dynatrace.com/api/v2/otlp
quarkus.micrometer.export.otlp.headers=Authorization=Api-Token dttest.test
quarkus.micrometer.export.otlp.resource-attributes=service.name=my-camel-app
quarkus.micrometer.export.otlp.step=10s&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Despite this, I do not see any of the Camel-specific metrics in Dynatrace in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Metrics&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Data Explorer&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;section.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Am I missing any required configuration ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 09:33:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279899#M36827</guid>
      <dc:creator>AshPerera</dc:creator>
      <dc:date>2025-06-23T09:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279901#M36828</link>
      <description>&lt;P&gt;Do you see any metrics sent using OTLP from your container? Can you validate first if the exporter works and is sending the data you need?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 06:26:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279901#M36828</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-06-23T06:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279909#M36830</link>
      <description>&lt;P&gt;Hi Julius, I dont see any metrics sent using OTLP. Didnt see anything in the docker logs.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":frowning_face:"&gt;☹️&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I tried the Metrics API to send Metrics to Dyantrace and it worked&amp;nbsp;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -L -X POST 'https://{environmentid}.live.dynatrace.com/api/v2/metrics/ingest' \
-H 'Authorization: Api-Token dt0c01.DFSFSDF324243.TESTSGDGFSDGDSFGDSFGDSGDSFGDSFGD' \
-H 'Content-Type: text/plain' \
--data-raw 'custom.test.metric 123'&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Then I was able to see the metrics in the "Metrics" section.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshPerera_0-1750665435582.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28603i57A544E6DE2EC8F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshPerera_0-1750665435582.png" alt="AshPerera_0-1750665435582.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Goal is to send metrics (Camel metrics) from my Camel Quarkus application. That is not working unfortunately.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 04:01:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/279909#M36830</guid>
      <dc:creator>AshPerera</dc:creator>
      <dc:date>2025-06-27T04:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/280019#M36846</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/91882"&gt;@AshPerera&lt;/a&gt;&amp;nbsp;what I would do first it to double check if it really sends the metrics using otlp.&lt;BR /&gt;I'd setup an otel collector and a simple pipeline just to dump the metrics, see&amp;nbsp;&lt;A href="https://opentelemetry.io/docs/languages/js/exporters/#collector-setup" target="_blank"&gt;https://opentelemetry.io/docs/languages/js/exporters/#collector-setup&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 06:58:36 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/280019#M36846</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-06-24T06:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/280303#M36891</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;, thanks for the reply.&lt;BR /&gt;&lt;BR /&gt;I was able to resolve my issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Camel Quarkus Micrometer metrics can now be viewed in Dynatrace.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I fixed the issue by upgrading Quarkus to the latest version &lt;SPAN&gt;3.23.4&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AshPerera_0-1750996741839.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/28704i3604329FC0C78A01/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AshPerera_0-1750996741839.png" alt="AshPerera_0-1750996741839.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 04:00:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Camel-Quarkus-Micrometer-metrics-cannot-be-viewed-in-Dynatrace/m-p/280303#M36891</guid>
      <dc:creator>AshPerera</dc:creator>
      <dc:date>2025-06-27T04:00:29Z</dc:date>
    </item>
  </channel>
</rss>

