diff --git a/core/src/layers/prometheus_client.rs b/core/src/layers/prometheus_client.rs index 38c4120d496e..dc61d910d422 100644 --- a/core/src/layers/prometheus_client.rs +++ b/core/src/layers/prometheus_client.rs @@ -302,11 +302,11 @@ impl PrometheusClientLayerBuilder { /// ``` pub fn register(self, registry: &mut Registry) -> PrometheusClientLayer { let operation_duration_seconds = - Family::::new_with_constructor(HistogramConstructor { + Family::::new_with_constructor(HistogramConstructor { buckets: self.operation_duration_seconds_buckets, }); let operation_bytes = - Family::::new_with_constructor(HistogramConstructor { + Family::::new_with_constructor(HistogramConstructor { buckets: self.operation_bytes_buckets, }); let operation_errors_total = Family::::default();