# Prometheus histogram metrics

**URL:** <https://community.dynatrace.com/t/prometheus-histogram-metrics/33608>\
**Category:** Automations\
**Tags:** integrations, prometheus\
**Created:** [December 21, 2021, 9:42am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608 "2021-12-21T09:42:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnDoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JohnDoe](https://community.dynatrace.com/u/JohnDoe)\
**Post date:** [December 21, 2021, 9:42am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/1 "2021-12-21T09:42:31Z")

</div>

Hey all,

as per the current documentation, the Prometheus integration does only support counter and gauge metrics but not histograms:

> **[Monitor Prometheus metrics](https://docs.dynatrace.com/docs/observe/infrastructure-observability/container-platform-monitoring/kubernetes-monitoring/monitor-prometheus-metrics)**
>
> Metric ingestion from Prometheus endpoints in Kubernetes, metrics alerts, and monitoring consumption.

Are there any plans or roadmaps to support Prometheus’ histogram metrics? Or any proposed workaround to still get this data into Dynatrace? We have some components that expose histogram metrics by default and we consider these as very relevant for us to be monitored.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![MichalGebacki](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michalgebacki/32/41585_2.png) [@MichalGebacki](https://community.dynatrace.com/u/MichalGebacki)\
**Post date:** [January 4, 2022, 12:12pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/2 "2022-01-04T12:12:47Z")

</div>

Hello guys!

Does anyone have some tips regarding subject detailed above? Would be awesome, thanks in advance!&nbsp;😄

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [January 4, 2022, 12:18pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/3 "2022-01-04T12:18:36Z")

</div>

[@Lukasz\_Be](https://community.dynatrace.com/user/23275)&nbsp;would know what the plan is moving forward. Currently we indeed only support gauge and counter.

A workaround would be to “massage” the data in a script or such and then send it to Dynatrace using the metric ingest API.

---

<div class="post-metadata">

**Author:** ![Lukasz\_Be](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lukasz_be/32/27900_2.png) [@Lukasz\_Be](https://community.dynatrace.com/u/Lukasz_Be)\
**Post date:** [January 21, 2022, 9:29am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/4 "2022-01-21T09:29:27Z")

</div>

Hi&nbsp;[@JohnDoe](https://community.dynatrace.com/user/46760),  
Yes, we do have a plan to introduce the support for Prometheus histograms.

---

<div class="post-metadata">

**Author:** ![JohnDoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JohnDoe](https://community.dynatrace.com/u/JohnDoe)\
**Post date:** [January 21, 2022, 10:33am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/5 "2022-01-21T10:33:45Z")

</div>

Hey&nbsp;[@Lukasz\_Be](https://community.dynatrace.com/user/23275)&nbsp;, glad to hear this and looking forward to it. Is there any (rough) roadmap for this feature you can share?

---

<div class="post-metadata">

**Author:** ![Lukasz\_Be](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/lukasz_be/32/27900_2.png) [@Lukasz\_Be](https://community.dynatrace.com/u/Lukasz_Be)\
**Post date:** [January 26, 2022, 11:10am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/6 "2022-01-26T11:10:21Z")

</div>

Hi, I am afraid I can’t share the details but it is on our mid-term roadmap.

---

<div class="post-metadata">

**Author:** ![henk\_stobbe](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/henk_stobbe/32/30434_2.png) [@henk\_stobbe](https://community.dynatrace.com/u/henk_stobbe)\
**Post date:** [February 7, 2022, 5:59pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/7 "2022-02-07T17:59:27Z")

</div>

Hello,

Just looked at the extension log:

_Could not get value of Prometheus metric because of unsupported type. Supported Prometheus types are: counter, gauge, untyped._

So untyped, anybody know or has this something to do with above histogram (please (-😉

KR Henk

(And counter should be count I hope)

---

<div class="post-metadata">

**Author:** ![Arkadiusz\_Banas](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Arkadiusz\_Banas](https://community.dynatrace.com/u/Arkadiusz_Banas)\
**Post date:** [February 9, 2022, 9:13am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/8 "2022-02-09T09:13:44Z")

</div>

Hi,

The _untyped_ has nothing to do with histograms, sorry. That log mentions _Prometheus types_ meaning the types that can be found in Prometheus exporters. Here’s a link to Prometheus docs: [Writing exporters | Prometheus](https://prometheus.io/docs/instrumenting/writing_exporters/). There is a section dedicated to types which describes what _untyped_ is and what is it for. Also, counter metric in Prometheus is called _counter_ while in Dynatrace we have _count_ (see [Metric types | Prometheus](https://prometheus.io/docs/concepts/metric_types/) and [Metric ingestion protocol — Dynatrace Docs](https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/metric-ingestion-protocol#count-metric)).

If you have any further questions, don’t hesitate to ask me.

Best wishes,

Arek.

---

<div class="post-metadata">

**Author:** ![JohnDoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JohnDoe](https://community.dynatrace.com/u/JohnDoe)\
**Post date:** [February 11, 2022, 11:51am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/9 "2022-02-11T11:51:36Z")

</div>

ok, thanks for the feedback 🙂

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [March 23, 2022, 6:54pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/10 "2022-03-23T18:54:55Z")

</div>

Thanks [@Lukasz\_Be](https://community.dynatrace.com/user/23275) any update about this that you can share with us? I have several clients asking for histograms, it would be great if we can have a non compromise release month. Thanks

---

<div class="post-metadata">

**Author:** ![Roland](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/roland/32/19001_2.png) [@Roland](https://community.dynatrace.com/u/Roland)\
**Post date:** [August 5, 2022, 8:40pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/11 "2022-08-05T20:40:14Z")

</div>

Was wondering is it midterm calendar or fiscal year? In any case would you mind providing current status please?

---

<div class="post-metadata">

**Author:** ![JohnDoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JohnDoe](https://community.dynatrace.com/u/JohnDoe)\
**Post date:** [September 27, 2022, 9:29am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/12 "2022-09-27T09:29:40Z")

</div>

[@Lukasz\_Be](https://community.dynatrace.com/user/23275)&nbsp;any news? A short update would be highly appreciated.

---

<div class="post-metadata">

**Author:** ![dglugla](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dglugla/32/14492_2.png) [@dglugla](https://community.dynatrace.com/u/dglugla)\
**Post date:** [September 27, 2022, 10:14am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/13 "2022-09-27T10:14:00Z")

</div>

[@JohnDoe](https://community.dynatrace.com/user/46760)&nbsp;,&nbsp;[@Roland](https://community.dynatrace.com/user/27118)&nbsp;,&nbsp;[@DanielS](https://community.dynatrace.com/user/35788)&nbsp;&&nbsp;[@henk\_stobbe](https://community.dynatrace.com/user/11427)&nbsp;: in a meantime “mid-term” became a “short-term” plan, so the current ETA for the histogram metrics support is the beginning of CQ1’23. There was a huge step to take before we can get into the development here, so sorry for the delay.

---

<div class="post-metadata">

**Author:** ![JohnDoe](https://avatars.discourse-cdn.com/v4/letter/j/65b543/32.png) [@JohnDoe](https://community.dynatrace.com/u/JohnDoe)\
**Post date:** [September 27, 2022, 10:25am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/14 "2022-09-27T10:25:59Z")

</div>

many thanks for the quick response, looking forward to&nbsp;CQ1’23 🙂

---

<div class="post-metadata">

**Author:** ![dglugla](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dglugla/32/14492_2.png) [@dglugla](https://community.dynatrace.com/u/dglugla)\
**Post date:** [October 17, 2022, 2:56pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/15 "2022-10-17T14:56:28Z")

</div>

turns out that the histogram metrics support will be limited to only the “Summary” part. Our metric ingest and storage is not yet ready to handle the histogram buckets.

---

<div class="post-metadata">

**Author:** ![Roland](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/roland/32/19001_2.png) [@Roland](https://community.dynatrace.com/u/Roland)\
**Post date:** [October 17, 2022, 3:20pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/16 "2022-10-17T15:20:05Z")

</div>

When will it be ready to support the histogram buckets?

---

<div class="post-metadata">

**Author:** ![dglugla](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dglugla/32/14492_2.png) [@dglugla](https://community.dynatrace.com/u/dglugla)\
**Post date:** [October 17, 2022, 3:48pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/17 "2022-10-17T15:48:58Z")

</div>

I’m afraid I can’t answer that. Maybe&nbsp;[@lkoniecki](https://community.dynatrace.com/user/22289)&nbsp;or&nbsp;[@Herwig\_Moser](https://community.dynatrace.com/user/11477)&nbsp;can provide more details?

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [March 23, 2023, 1:29pm UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/18 "2023-03-23T13:29:56Z")

</div>

Well, great news. Now it is working with lastest AG release!!!

[https://www.dynatrace.com/support/help/shortlink/release-notes-activegate-sprint-261#prometheus-histogram-metrics](https://www.dynatrace.com/support/help/shortlink/release-notes-activegate-sprint-261#prometheus-histogram-metrics)

---

<div class="post-metadata">

**Author:** ![justbalazs](https://avatars.discourse-cdn.com/v4/letter/j/9de053/32.png) [@justbalazs](https://community.dynatrace.com/u/justbalazs)\
**Post date:** [May 19, 2023, 8:45am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/19 "2023-05-19T08:45:26Z")

</div>

Hi!

We use Active Gate 1.263, version ([https://www.dynatrace.com/support/help/whats-new/release-notes/activegate/sprint-261#prometheus-histogram-metrics](https://www.dynatrace.com/support/help/whats-new/release-notes/activegate/sprint-261#prometheus-histogram-metrics)) but&nbsp;Prometheus histogram metrics does not work for us.

We try to ingest these Prometheus metrics (via a custome made DT plugin) into Dynatrace.

- key: com.dynatrace.extension.prometheus-matrix.global.mt\_activity\_compensate\_duration\_sum

value: metric:mt\_activity\_compensate\_duration\_sum

type: count

featureSet: global

- key: com.dynatrace.extension.prometheus-matrix.global.mt\_activity\_compensate\_duration\_count

value: metric:mt\_activity\_compensate\_duration\_count

type: count

featureSet: global

We can see the age and count metrics in the Data Explorer, but we can not see these histogram metrics in it.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![danielywoo](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@danielywoo](https://community.dynatrace.com/u/danielywoo)\
**Post date:** [June 29, 2023, 4:08am UTC](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608/20 "2023-06-29T04:08:49Z")

</div>

I have exactly the same issue, there is no such “summary” or “histogram” in DynaTrace. But I think we probably can use “advanced query” to work around, in your case, it can be:

```auto
(mt_activity_compensate_duration_sum)
/
(mt_activity_compensate_duration_count)

```

[Next page](https://community.dynatrace.com/t/prometheus-histogram-metrics/33608.md?page=2)
