File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
src/amazon/opentelemetry/distro/patches
tests/amazon/opentelemetry/distro Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 44import os
55from logging import Logger , getLogger
66
7- # pylint: disable=unused-import
8- # flake8: noqa: F401
9- import pkg_resources
10-
117from amazon .opentelemetry .distro ._utils import is_installed
128from amazon .opentelemetry .distro .patches ._resource_detector_patches import _apply_resource_detector_patches
139
Original file line number Diff line number Diff line change 3838_LAMBDA_SOURCE_MAPPING_ID : str = "lambdaEventSourceMappingID"
3939
4040# Patch names
41- GET_DISTRIBUTION_PATCH : str = (
42- "amazon.opentelemetry.distro.patches._instrumentation_patch.pkg_resources.get_distribution"
43- )
41+ GET_DISTRIBUTION_PATCH : str = "amazon.opentelemetry.distro._utils.pkg_resources.get_distribution"
4442
4543
4644class TestInstrumentationPatch (TestCase ):
You can’t perform that action at this time.
0 commit comments