cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Prometheus histogram metrics

JohnDoe
Visitor

Hey all,

 

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

 

https://www.dynatrace.com/support/help/how-to-use-dynatrace/infrastructure-monitoring/container-plat...

 

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!

9 REPLIES 9

Michal_Gebacki
Community Team
Community Team

Hello guys!

 

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

Mike_L
Dynatrace Champion
Dynatrace Champion

@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.

Lukasz_Be
Dynatrace Advocate
Dynatrace Advocate

Hi @JohnDoe,
Yes, we do have a plan to introduce the support for Prometheus histograms.

Hey @Lukasz_Be , glad to hear this and looking forward to it. Is there any (rough) roadmap for this feature you can share?

Lukasz_Be
Dynatrace Advocate
Dynatrace Advocate

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

ok, thanks for the feedback 🙂

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

The true delight is in the finding out rather than in the knowing.

henk_stobbe
DynaMight Champion
DynaMight Champion

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)

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.