File tree Expand file tree Collapse file tree
instrumentation/opentelemetry-instrumentation-requests/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535)
3636from opentelemetry .propagate import get_global_textmap , set_global_textmap
3737from opentelemetry .sdk import resources
38+ from opentelemetry .semconv ._incubating .attributes .http_attributes import (
39+ HTTP_FLAVOR ,
40+ HTTP_HOST ,
41+ HTTP_METHOD ,
42+ HTTP_SCHEME ,
43+ HTTP_STATUS_CODE ,
44+ HTTP_URL ,
45+ )
46+ from opentelemetry .semconv ._incubating .attributes .net_attributes import (
47+ NET_PEER_NAME ,
48+ NET_PEER_PORT ,
49+ )
3850from opentelemetry .semconv .attributes .error_attributes import ERROR_TYPE
3951from opentelemetry .semconv .attributes .http_attributes import (
4052 HTTP_REQUEST_METHOD ,
5163 SERVER_PORT ,
5264)
5365from opentelemetry .semconv .attributes .url_attributes import URL_FULL
54- from opentelemetry .semconv ._incubating .attributes .http_attributes import (
55- HTTP_FLAVOR ,
56- HTTP_HOST ,
57- HTTP_METHOD ,
58- HTTP_SCHEME ,
59- HTTP_STATUS_CODE ,
60- HTTP_URL ,
61- )
62- from opentelemetry .semconv ._incubating .attributes .net_attributes import (
63- NET_PEER_NAME ,
64- NET_PEER_PORT ,
65- )
6666from opentelemetry .test .mock_textmap import MockTextMapPropagator
6767from opentelemetry .test .test_base import TestBase
6868from opentelemetry .trace import StatusCode
You can’t perform that action at this time.
0 commit comments