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.
@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.
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 (-;)
(And counter should be count I hope)
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.
Well, great news. Now it is working with lastest AG release!!!!
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
- key: com.dynatrace.extension.prometheus-matrix.global.mt_activity_compensate_duration_count
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!
I'd like to refer folks to this feedback thread regarding Prometheus and Kubernetes if you have further input.