Found this: management.metrics.web.server.request.autotime.percentiles-histogram=true
Hope it helps. Am Freitag, 31. Januar 2020 14:17:08 UTC+1 schrieb Rafael Dohms: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/67b668b8-a8c0-4ce6-bfe2-d6c4629081c7o%40googlegroups.com.

