I'm trying summary and histogram to expose a put request duration.
Buckets for histogram are
buckets := []float64{0.001, 0.0025, 0.005, 0.01, 0.025, 0.05, 0.1}
and objectives for summary are
var quantiles = map[float64]float64{
0.5: 0.01,
0.9: 0.01,
0.99: 0.001,
}
with default 10m MaxAge. However, the 90 quantile I got from summary by using label
...{quantile="0.9"}
have a lot of step function patterns, but the 90 quantile from histogram by using
histogram_quantile(0.9, ...)
is very smooth. Is there something I can do to make the quantile smoother in summary's case?