Skip to content

Commit

Permalink
adjust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
koushiro committed Sep 3, 2024
1 parent 8bc6801 commit bddf0c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/layers/prometheus_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ impl PrometheusClientLayerBuilder {
/// ```
pub fn register(self, registry: &mut Registry) -> PrometheusClientLayer {
let operation_duration_seconds =
Family::<OperationLabels, _, _>::new_with_constructor(HistogramConstructor {
Family::<OperationLabels, Histogram, _>::new_with_constructor(HistogramConstructor {
buckets: self.operation_duration_seconds_buckets,
});
let operation_bytes =
Family::<OperationLabels, _, _>::new_with_constructor(HistogramConstructor {
Family::<OperationLabels, Histogram, _>::new_with_constructor(HistogramConstructor {
buckets: self.operation_bytes_buckets,
});
let operation_errors_total = Family::<OperationLabels, Counter>::default();
Expand Down

0 comments on commit bddf0c2

Please sign in to comment.