diff --git a/util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py b/util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py index a7c8ebd2e8..7d53898008 100644 --- a/util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py +++ b/util/opentelemetry-util-http/src/opentelemetry/util/http/__init__.py @@ -18,7 +18,6 @@ from typing import Iterable from urllib.parse import urlparse, urlunparse - OTEL_PYTHON_CAPTURE_REQUEST_HEADERS = "OTEL_PYTHON_CAPTURE_REQUEST_HEADERS" OTEL_PYTHON_CAPTURE_RESPONSE_HEADERS = "OTEL_PYTHON_CAPTURE_RESPONSE_HEADERS" diff --git a/util/opentelemetry-util-http/tests/test_capture_custom_headers.py b/util/opentelemetry-util-http/tests/test_capture_custom_headers.py index 596d94cd9a..b07f50eeaf 100644 --- a/util/opentelemetry-util-http/tests/test_capture_custom_headers.py +++ b/util/opentelemetry-util-http/tests/test_capture_custom_headers.py @@ -16,11 +16,11 @@ from opentelemetry.test.test_base import TestBase from opentelemetry.util.http import ( + OTEL_PYTHON_CAPTURE_REQUEST_HEADERS, + OTEL_PYTHON_CAPTURE_RESPONSE_HEADERS, get_custom_headers, normalise_request_header_name, normalise_response_header_name, - OTEL_PYTHON_CAPTURE_REQUEST_HEADERS, - OTEL_PYTHON_CAPTURE_RESPONSE_HEADERS, )