From 0585d23df209c1d77826d49610df58968f8bd6a9 Mon Sep 17 00:00:00 2001 From: Aaron Abbott Date: Fri, 14 May 2021 15:39:20 +0000 Subject: [PATCH] fix wrong package reference in warning --- .../src/opentelemetry/tools/resource_detector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry-tools-google-cloud/src/opentelemetry/tools/resource_detector.py b/opentelemetry-tools-google-cloud/src/opentelemetry/tools/resource_detector.py index 08539c27..10cfb774 100644 --- a/opentelemetry-tools-google-cloud/src/opentelemetry/tools/resource_detector.py +++ b/opentelemetry-tools-google-cloud/src/opentelemetry/tools/resource_detector.py @@ -21,8 +21,8 @@ from opentelemetry.sdk.resources import Resource, ResourceDetector warnings.warn( - "Package opentelemetry-exporter-cloud-monitoring is deprecated. Please install " - "opentelemetry-exporter-gcp-monitoring instead", + "Package opentelemetry-tools-google-cloud is deprecated. Please install " + "opentelemetry-resourcedetector-gcp and opentelemetry-propagator-gcp instead", DeprecationWarning, )