21 Dec 2021 09:42 AM - last edited on 13 Jul 2023 06:18 PM by AgataWlodarczyk
Hey all,
as per the current documentation, the Prometheus integration does only support counter and gauge metrics but not histograms:
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!
Solved! Go to Solution.
04 Jan 2022 12:12 PM
Hello guys!
Does anyone have some tips regarding subject detailed above? Would be awesome, thanks in advance! 😄
04 Jan 2022 12:18 PM
@Lukasz_Be 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.
21 Jan 2022 09:29 AM
Hi @JohnDoe,
Yes, we do have a plan to introduce the support for Prometheus histograms.
21 Jan 2022 10:33 AM
Hey @Lukasz_Be , glad to hear this and looking forward to it. Is there any (rough) roadmap for this feature you can share?
26 Jan 2022 11:10 AM
Hi, I am afraid I can't share the details but it is on our mid-term roadmap.
11 Feb 2022 11:51 AM
ok, thanks for the feedback 🙂
23 Mar 2022 06:54 PM
Thanks @Lukasz_Be 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
05 Aug 2022 09:40 PM
Was wondering is it midterm calendar or fiscal year? In any case would you mind providing current status please?
27 Sep 2022 10:29 AM - edited 27 Sep 2022 10:30 AM
@Lukasz_Be any news? A short update would be highly appreciated.
27 Sep 2022 11:14 AM
@JohnDoe , @Roland , @DanielS & @henk_stobbe : 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.
27 Sep 2022 11:25 AM
many thanks for the quick response, looking forward to CQ1'23 🙂
17 Oct 2022 03:56 PM
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.
17 Oct 2022 04:20 PM
When will it be ready to support the histogram buckets?
17 Oct 2022 04:48 PM
I'm afraid I can't answer that. Maybe @lkoniecki or @Herwig_Moser can provide more details?
27 Aug 2024 01:44 PM
Hi
Any news on this support of histogram buckets ?
Thanks !
07 Feb 2022 05:59 PM - edited 07 Feb 2022 06:00 PM
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)
09 Feb 2022 09:13 AM
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: 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 https://prometheus.io/docs/concepts/metric_types/ and https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/metric-ingestio...).
If you have any further questions, don't hesitate to ask me.
Best wishes,
Arek.
23 Mar 2023 01:29 PM
Well, great news. Now it is working with lastest AG release!!!!
19 May 2023 09:45 AM - edited 19 May 2023 09:48 AM
Hi!
We use Active Gate 1.263, version (https://www.dynatrace.com/support/help/whats-new/release-notes/activegate/sprint-261#prometheus-hist...) but 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!
29 Jun 2023 05:08 AM
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:
(mt_activity_compensate_duration_sum)
/
(mt_activity_compensate_duration_count)