# Camel Quarkus Micrometer metrics cannot be viewed in Dynatrace

**URL:** <https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188>\
**Category:** Open Q&A\
**Tags:** micrometer, dynatrace-managed, quarkus\
**Created:** [June 23, 2025, 1:55am UTC](https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188 "2025-06-23T01:55:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AshPerera](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@AshPerera](https://community.dynatrace.com/u/AshPerera)\
**Post date:** [June 23, 2025, 1:55am UTC](https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188/1 "2025-06-23T01:55:49Z")

</div>

I have a Camel Quarkus application, and I can successfully view the Camel metrics at&nbsp;[http://localhost:8080/metrics](http://localhost:8080/metrics).

 ![metrics.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/e75c1826d0d9d132a8a974c3c359d1f9a7d0f4e6.png)

I’m using the&nbsp; **Prometheus** &nbsp;extension to expose the&nbsp; **/metrics** &nbsp;endpoint, and&nbsp; **Micrometer** &nbsp;to collect metrics.

My goal is to send these&nbsp; **Camel Quarkus metrics** &nbsp;to&nbsp; **Dynatrace**.

**pom.xml**

```markup
<!-- Core Micrometer extension -->
    <dependency>
        <groupId>io.quarkus</groupId>
        <artifactId>quarkus-micrometer</artifactId>
    </dependency>

    <!-- Prometheus registry -->
    <dependency>
        <groupId>io.quarkus</groupId>
        <artifactId>quarkus-micrometer-registry-prometheus</artifactId>
    </dependency>

    <!-- Camel Micrometer for route metrics -->
    <dependency>
        <groupId>org.apache.camel.quarkus</groupId>
        <artifactId>camel-quarkus-micrometer</artifactId>
    </dependency>

    <dependency>
      <groupId>io.quarkiverse.micrometer.registry</groupId>
      <artifactId>quarkus-micrometer-registry-otlp</artifactId>
      <version>2.10.0</version>
    </dependency>

```

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&nbsp; **.env** &nbsp;file).

**.env file**

```markup
DT_TENANT=dwqtest
DT_TENANTTOKEN=PF7test
DT_CONNECTION_POINT=https://{environmentid}.live.dynatrace.com:443

```

Below is my&nbsp; **application.properties** &nbsp;configuration used to export&nbsp; **Camel Micrometer metrics** &nbsp;to&nbsp; **Dynatrace** &nbsp;(built in metrics).

**Note :** &nbsp;These same properties are also defined in the&nbsp; **.env file** &nbsp;and used when building the Docker container.

**application.properties**

```markup
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

```

Despite this, I do not see any of the Camel-specific metrics in Dynatrace in the&nbsp; **Metrics** &nbsp;or&nbsp; **Data Explorer** &nbsp;section.

**Am I missing any required configuration ?**

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 23, 2025, 6:26am UTC](https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188/2 "2025-06-23T06:26:17Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![AshPerera](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@AshPerera](https://community.dynatrace.com/u/AshPerera)\
**Post date:** [June 23, 2025, 8:00am UTC](https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188/3 "2025-06-23T08:00:58Z")

</div>

Hi Julius, I dont see any metrics sent using OTLP. Didnt see anything in the docker logs.&nbsp;☹️

I tried the Metrics API to send Metrics to Dyantrace and it worked&nbsp;:

```markup
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'

```

Then I was able to see the metrics in the “Metrics” section.

 ![AshPerera_0-1750665435582.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/a/1aea54ad95639282d5e533cb9c64e26cd16f1f0a.png)

**Goal is to send metrics (Camel metrics) from my Camel Quarkus application. That is not working unfortunately.**

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [June 24, 2025, 6:58am UTC](https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188/4 "2025-06-24T06:58:36Z")

</div>

[@AshPerera](https://community.dynatrace.com/user/91882)&nbsp;what I would do first it to double check if it really sends the metrics using otlp.  
I’d setup an otel collector and a simple pipeline just to dump the metrics, see&nbsp;[Exporters | OpenTelemetry](https://opentelemetry.io/docs/languages/js/exporters/#collector-setup)

---

<div class="post-metadata">

**Author:** ![AshPerera](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@AshPerera](https://community.dynatrace.com/u/AshPerera)\
**Post date:** [June 27, 2025, 3:59am UTC](https://community.dynatrace.com/t/camel-quarkus-micrometer-metrics-cannot-be-viewed-in-dynatrace/52188/5 "2025-06-27T03:59:47Z")

</div>

Hi&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364), thanks for the reply.

I was able to resolve my issue.

Camel Quarkus Micrometer metrics can now be viewed in Dynatrace.

I fixed the issue by upgrading Quarkus to the latest version 3.23.4

 ![AshPerera_0-1750996741839.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/98eaf140ae5279f468eb6896983c1c2f9066ea96.png)

Thanks.
