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