# Prometheus compatible metrics

**URL:** <https://discuss.elastic.co/t/prometheus-compatible-metrics/329988>\
**Category:** APM\
**Tags:** server\
**Created:** [April 14, 2023, 9:35am UTC](https://discuss.elastic.co/t/prometheus-compatible-metrics/329988 "2023-04-14T09:35:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maksym\_Postument](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maksym_postument/32/106661_2.png) [@Maksym\_Postument](https://discuss.elastic.co/u/Maksym_Postument)\
**Post date:** [April 14, 2023, 9:35am UTC](https://discuss.elastic.co/t/prometheus-compatible-metrics/329988/1 "2023-04-14T09:35:29Z")

</div>

Is there a way to expose apm metrics in prometheus compatible format?

**Kibana version** : 8.6.0

**Elasticsearch version** : 8.6.0

**APM Server version** : 8.6.0

**APM Agent language and version** : otel

**Browser version** :

**Original install method (e.g. download page, yum, deb, from source, etc.) and version**: yum

**Fresh install or upgraded from other version?** Fresh

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [April 24, 2023, 3:17pm UTC](https://discuss.elastic.co/t/prometheus-compatible-metrics/329988/2 "2023-04-24T15:17:44Z")

</div>

Hi @Maksym_Postument, I'm not quite sure if this is what you are aiming for, but answering this from the apm-server perspective, since this is how the issue was labeled. The apm-server does not support exposing metrics in a prometheus compatible format.  
You could use ES ingest processor to rewrite metrics into a different mapping, but this might break parts of the apm UI and is probably not what you are looking for.

I'd be interested in understanding your use case and what you are looking for a bit better, if you don't mind giving more context.

---

<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:** [May 15, 2023, 11:18am UTC](https://discuss.elastic.co/t/prometheus-compatible-metrics/329988/3 "2023-05-15T11:18:16Z")

</div>

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