# Missing JVM Metrics with Opentelemetry

**URL:** https://discuss.elastic.co/t/missing-jvm-metrics-with-opentelemetry/315099
**Category:** APM
**Tags:** java
**Created:** [September 25, 2022, 11:52am UTC](https://discuss.elastic.co/t/missing-jvm-metrics-with-opentelemetry/315099 "2022-09-25T11:52:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zirota](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zirota/32/109876_2.png) [@zirota](https://discuss.elastic.co/u/zirota)
#### Post date: [September 25, 2022, 11:52am UTC](https://discuss.elastic.co/t/missing-jvm-metrics-with-opentelemetry/315099/1 "2022-09-25T11:52:07Z")

</div>

**Kibana version** : 8.3.3

**Elasticsearch version** : 8.3.3

**APM Server version** : 8.3.3

**Opentelemetry java agent** : 1.18.0

**Steps to reproduce** :

1. Setup Elasticsearch, Kibana & APM server 8.3.3
2. Setup Opentelemetry collector to export otlp to Elastic APM
3. Instrumented java application using opentelemetry-javaagent
4. Configure application to export oltp telemetry data to Opentelemetry collector

Hi, I have this setup going:

java application (otlp) -\> Opentelemetry Collector -\> Elastic APM

Everything looks fine from Kibana, however I am unable to view any JVM related metrics

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/f/8fbe7257dbc388e1088403951dd171971445ce27.png)

I changed the java agent to the Elastic Java agent and exported the telemetry data directly into Elastic APM and it seemed to worked:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/f/8f744a301c9c152c5090a6b1290013c1d77171ce.png)

Does anyone know whether this is intended behavior for Opentelemetry exported metrics to not show in the JVM tab or is this something I can configure to get it supported?

---

<div class="post-metadata">

### Author: ![alexander.wert](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexander.wert/32/95085_2.png) [@alexander.wert](https://discuss.elastic.co/u/alexander.wert)
#### Post date: [September 26, 2022, 10:52am UTC](https://discuss.elastic.co/t/missing-jvm-metrics-with-opentelemetry/315099/2 "2022-09-26T10:52:48Z")

</div>

Hi @zirota ,

OpenTelemetry changed the metrics format for JVMs at some point, that's why it is not working with OTel Java agent version 1.18 and Elastic Stack version 8.3.

This [has been fixed recently](https://github.com/elastic/apm-server/issues/8042) in the Elastic APM Server and should be available with the next release of the Elastic Stack.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 17, 2022, 6:53am UTC](https://discuss.elastic.co/t/missing-jvm-metrics-with-opentelemetry/315099/3 "2022-10-17T06:53:14Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
