From d9d4e2d099157dea90a169a17ee442d5d1a793c9 Mon Sep 17 00:00:00 2001 From: Owais Lone Date: Sun, 4 Apr 2021 04:49:55 +0530 Subject: [PATCH] Fixed DataDog trace exporter `ddtrace` package introduced some breaking changes that break the DataDog trace exporter. This commit downgrades the dependency to last know working version to fix the exporter. --- .github/workflows/test.yml | 2 +- CHANGELOG.md | 2 ++ exporter/opentelemetry-exporter-datadog/setup.cfg | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a687a26fec..70f6e5bd02 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: - 'release/*' pull_request: env: - CORE_REPO_SHA: f556d1418c8015b71ec2e16b4ba2b76efdd3804f + CORE_REPO_SHA: 7054b534404fc69199e368cbe62a4e7570cc46ea jobs: build: diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fc28a168a..db2c73f3db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/open-telemetry/opentelemetry-python-contrib/compare/v0.19b0...HEAD) ### Changed +- Downgrade DataDog exporter's `ddtrace` dependency so the exporter continues to work. + ([#400](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/400)) - GRPC instrumentation now correctly injects trace context into outgoing requests. ([#392](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/39)) - Publish `opentelemetry-propagator-ot-trace` package as a part of the release process diff --git a/exporter/opentelemetry-exporter-datadog/setup.cfg b/exporter/opentelemetry-exporter-datadog/setup.cfg index 77cb9a777c..14dd4c05a0 100644 --- a/exporter/opentelemetry-exporter-datadog/setup.cfg +++ b/exporter/opentelemetry-exporter-datadog/setup.cfg @@ -38,7 +38,7 @@ package_dir= =src packages=find_namespace: install_requires = - ddtrace>=0.34.0 + ddtrace>=0.34.0,<0.47.0 opentelemetry-api == 1.0.0 opentelemetry-sdk == 1.0.0