diff --git a/CHANGELOG.md b/CHANGELOG.md index f583aba78e7..d2e3ff6e2f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ([#2870](https://github.com/open-telemetry/opentelemetry-python/pull/2870)) - Fix: Remove `LogEmitter.flush()` to align with OTel Log spec ([#2863](https://github.com/open-telemetry/opentelemetry-python/pull/2863)) +- Bump minimum required API/SDK version for exporters that support metrics + ([#2918](https://github.com/open-telemetry/opentelemetry-python/pull/2918)) - Fix metric reader examples + added `preferred_temporality` and `preferred_aggregation` for `ConsoleMetricExporter` ([#2911](https://github.com/open-telemetry/opentelemetry-python/pull/2911)) diff --git a/exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml b/exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml index 2e05816e8d6..f8172f6f9b3 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml +++ b/exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml @@ -28,9 +28,9 @@ dependencies = [ "backoff >= 1.10.0, < 3.0.0; python_version>='3.7'", "googleapis-common-protos ~= 1.52", "grpcio >= 1.0.0, < 2.0.0", - "opentelemetry-api ~= 1.3", + "opentelemetry-api ~= 1.12", "opentelemetry-proto == 1.12.0", - "opentelemetry-sdk ~= 1.11", + "opentelemetry-sdk ~= 1.12", ] [project.optional-dependencies] diff --git a/exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml b/exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml index edf4db8a93b..e24085625ba 100644 --- a/exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml +++ b/exporter/opentelemetry-exporter-otlp-proto-http/pyproject.toml @@ -27,9 +27,9 @@ dependencies = [ "backoff >= 1.10.0, < 2.0.0; python_version<'3.7'", "backoff >= 1.10.0, < 3.0.0; python_version>='3.7'", "googleapis-common-protos ~= 1.52", - "opentelemetry-api ~= 1.3", + "opentelemetry-api ~= 1.12", "opentelemetry-proto == 1.12.0", - "opentelemetry-sdk ~= 1.11", + "opentelemetry-sdk ~= 1.12", "requests ~= 2.7", ] diff --git a/exporter/opentelemetry-exporter-prometheus/pyproject.toml b/exporter/opentelemetry-exporter-prometheus/pyproject.toml index d7f9cef33d0..9dd2d635173 100644 --- a/exporter/opentelemetry-exporter-prometheus/pyproject.toml +++ b/exporter/opentelemetry-exporter-prometheus/pyproject.toml @@ -24,8 +24,8 @@ classifiers = [ "Programming Language :: Python :: 3.10", ] dependencies = [ - "opentelemetry-api >= 1.10.0", - "opentelemetry-sdk >= 1.10.0", + "opentelemetry-api ~= 1.12", + "opentelemetry-sdk ~= 1.12", "prometheus_client >= 0.5.0, < 1.0.0", ]