File tree 2 files changed +8
-7
lines changed
instrumentation/opentelemetry-instrumentation-threading
src/opentelemetry/instrumentation/threading
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 33
33
34
34
import threading
35
35
from 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
37
40
from opentelemetry .instrumentation .instrumentor import BaseInstrumentor
38
41
from opentelemetry .instrumentation .threading .package import _instruments
39
42
from opentelemetry .instrumentation .threading .version import __version__
40
- from opentelemetry import context , trace
41
- from opentelemetry .instrumentation .instrumentor import BaseInstrumentor
42
43
from opentelemetry .instrumentation .utils import unwrap
43
- from wrapt import wrap_function_wrapper
44
44
45
45
46
46
class ThreadingInstrumentor (BaseInstrumentor ):
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- from concurrent import futures
16
15
import threading
17
- from opentelemetry . test . test_base import TestBase
18
- from opentelemetry . instrumentation . threading import ThreadingInstrumentor
16
+ from concurrent import futures
17
+
19
18
from opentelemetry import trace
19
+ from opentelemetry .instrumentation .threading import ThreadingInstrumentor
20
+ from opentelemetry .test .test_base import TestBase
20
21
21
22
22
23
class TestThreading (TestBase ):
You can’t perform that action at this time.
0 commit comments