diff --git a/cmd/thanos/query.go b/cmd/thanos/query.go index a9d816a5d08..0c2cbb545ee 100644 --- a/cmd/thanos/query.go +++ b/cmd/thanos/query.go @@ -168,9 +168,7 @@ func registerQuery(m map[string]setupFunc, app *kingpin.Application) { func storeClientGRPCOpts(logger log.Logger, reg *prometheus.Registry, tracer opentracing.Tracer, secure bool, cert, key, caCert, serverName string) ([]grpc.DialOption, error) { grpcMets := grpc_prometheus.NewClientMetrics() grpcMets.EnableClientHandlingTimeHistogram( - grpc_prometheus.WithHistogramBuckets([]float64{ - 0.001, 0.01, 0.05, 0.1, 0.2, 0.4, 0.8, 1.6, 3.2, 6.4, - }), + grpc_prometheus.WithHistogramBuckets(prometheus.ExponentialBuckets(0.001, 2, 15)), ) dialOpts := []grpc.DialOption{ // We want to make sure that we can receive huge gRPC messages from storeAPI.