From 1718871187f1bc0b05854e00b3fba0b5423c7f2a Mon Sep 17 00:00:00 2001 From: Dudssource Date: Wed, 27 Dec 2023 01:47:00 -0300 Subject: [PATCH] make OTLPMetricExporter pass the preferred_aggregation argument to the _common_configuration function --- .../exporter/otlp/proto/http/metric_exporter/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/metric_exporter/__init__.py b/exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/metric_exporter/__init__.py index becdab257fe..1244eb2b6ea 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/metric_exporter/__init__.py +++ b/exporter/opentelemetry-exporter-otlp-proto-http/src/opentelemetry/exporter/otlp/proto/http/metric_exporter/__init__.py @@ -135,7 +135,7 @@ def __init__( {"Content-Encoding": self._compression.value} ) - self._common_configuration(preferred_temporality) + self._common_configuration(preferred_temporality, preferred_aggregation) def _export(self, serialized_data: str): data = serialized_data