From 3f96eba2f431d58d13aed723e06b1cd861cd1245 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:05:30 -0700 Subject: [PATCH] chore: Loosen metrics gems versions (#1698) The OTLP metrics exporter will fail to install for tests because the latest metrics SDK is newer than the previous version constraint. The rest of the gems are installed based on minor versions. Now metrics_sdk/_api are in sync. --- .../otlp-metrics/opentelemetry-exporter-otlp-metrics.gemspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/otlp-metrics/opentelemetry-exporter-otlp-metrics.gemspec b/exporter/otlp-metrics/opentelemetry-exporter-otlp-metrics.gemspec index 571b3b203..0729f3e37 100644 --- a/exporter/otlp-metrics/opentelemetry-exporter-otlp-metrics.gemspec +++ b/exporter/otlp-metrics/opentelemetry-exporter-otlp-metrics.gemspec @@ -29,8 +29,8 @@ Gem::Specification.new do |spec| spec.add_dependency 'google-protobuf', '>= 3.18', '< 5.0' spec.add_dependency 'opentelemetry-api', '~> 1.1' spec.add_dependency 'opentelemetry-common', '~> 0.20' - spec.add_dependency 'opentelemetry-metrics-api', '~> 0.1.0' - spec.add_dependency 'opentelemetry-metrics-sdk', '~> 0.1.0' + spec.add_dependency 'opentelemetry-metrics-api', '~> 0.1' + spec.add_dependency 'opentelemetry-metrics-sdk', '~> 0.2' spec.add_dependency 'opentelemetry-sdk', '~> 1.2' spec.add_dependency 'opentelemetry-semantic_conventions'