From c2d85c0a90738b9038d7b05ad6b18f56530916b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Collonval?= Date: Wed, 6 Nov 2024 16:10:58 +0100 Subject: [PATCH] Lint the code --- .../sdk/metrics/_internal/measurement_consumer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/measurement_consumer.py b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/measurement_consumer.py index c5fdc93cca..f8eb1e32b6 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/measurement_consumer.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/metrics/_internal/measurement_consumer.py @@ -136,7 +136,9 @@ def collect( measurement.context, ), ) - metric_reader_storage.consume_measurement(measurement, should_sample_exemplar) + metric_reader_storage.consume_measurement( + measurement, should_sample_exemplar + ) result = self._reader_storages[metric_reader].collect()