Hi Rafael,
I am also facing a similar issue while exporting kafka connect metrics in 
histogram types.
Did you find a solution to this?

On Friday, 31 January 2020 18:47:08 UTC+5:30, Rafael Dohms wrote:
>
> I have a Spring Boot setup, with micrometer and metrics turned on. 
> I have successfully used http.server.requests to export a Counter of how 
> many requests are happening.
>
>
> However, I'm now stuck trying to create a Histogram of response times for 
> these same requests.
>
>
> What I have tried so far:
>
>    - Tried to find a way to extract the Attributes as a Prometheus 
>    Histogram, but found no way to do this
>    - Set management.metrics.distribution.sla.http.server.requests: 1ms, 
>    2ms, 5ms, 10ms, 20ms, 30ms to get a set of gauges that represent the 
>    buckets
>
> Has anyone achieved this before? I'm currently thinking along the lines of 
> recreating the _sum, _count and _bucket parts separately from the gauge but 
> I have not yet figured out how to do the sum and count parts. Any direction 
> is much appreciated.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/855b6e7a-ce48-40b1-8db8-8ffc32df74fa%40googlegroups.com.

Reply via email to