File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
instrumentation/opentelemetry-instrumentation-threading
src/opentelemetry/instrumentation/threading Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 3333
3434import threading
3535from typing import Collection
36- from opentelemetry .instrumentation .instrumentor import BaseInstrumentor
36+
37+ from wrapt import wrap_function_wrapper
38+
39+ from opentelemetry import context , trace
3740from opentelemetry .instrumentation .instrumentor import BaseInstrumentor
3841from opentelemetry .instrumentation .threading .package import _instruments
3942from opentelemetry .instrumentation .threading .version import __version__
40- from opentelemetry import context , trace
41- from opentelemetry .instrumentation .instrumentor import BaseInstrumentor
4243from opentelemetry .instrumentation .utils import unwrap
43- from wrapt import wrap_function_wrapper
4444
4545
4646class ThreadingInstrumentor (BaseInstrumentor ):
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- from concurrent import futures
1615import threading
17- from opentelemetry . test . test_base import TestBase
18- from opentelemetry . instrumentation . threading import ThreadingInstrumentor
16+ from concurrent import futures
17+
1918from opentelemetry import trace
19+ from opentelemetry .instrumentation .threading import ThreadingInstrumentor
20+ from opentelemetry .test .test_base import TestBase
2021
2122
2223class TestThreading (TestBase ):
You can’t perform that action at this time.
0 commit comments