From e27950ae7d59dfa14847f9b5f32574aab008c5ff Mon Sep 17 00:00:00 2001 From: Diego Hurtado Date: Wed, 13 Apr 2022 10:06:02 -0600 Subject: [PATCH] Fix exceptions module path --- opentelemetry-sdk/src/opentelemetry/sdk/_metrics/__init__.py | 2 +- opentelemetry-sdk/tests/metrics/test_metrics.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opentelemetry-sdk/src/opentelemetry/sdk/_metrics/__init__.py b/opentelemetry-sdk/src/opentelemetry/sdk/_metrics/__init__.py index 34a1c433f7d..015f116af23 100644 --- a/opentelemetry-sdk/src/opentelemetry/sdk/_metrics/__init__.py +++ b/opentelemetry-sdk/src/opentelemetry/sdk/_metrics/__init__.py @@ -50,7 +50,7 @@ from opentelemetry.sdk.resources import Resource from opentelemetry.sdk.util.instrumentation import InstrumentationInfo from opentelemetry.util._once import Once -from opentelemetry.util.exceptions import _Failure +from opentelemetry.util._exceptions import _Failure _logger = getLogger(__name__) diff --git a/opentelemetry-sdk/tests/metrics/test_metrics.py b/opentelemetry-sdk/tests/metrics/test_metrics.py index 773e63058af..70330b265a3 100644 --- a/opentelemetry-sdk/tests/metrics/test_metrics.py +++ b/opentelemetry-sdk/tests/metrics/test_metrics.py @@ -32,7 +32,7 @@ from opentelemetry.sdk._metrics.point import AggregationTemporality from opentelemetry.sdk.resources import Resource from opentelemetry.test.concurrency_test import ConcurrencyTestBase, MockFunc -from opentelemetry.util.exceptions import _Failure +from opentelemetry.util._exceptions import _Failure class DummyMetricReader(MetricReader):