Skip to content

Commit

Permalink
Run tox generate
Browse files Browse the repository at this point in the history
  • Loading branch information
shalevr committed Aug 30, 2022
1 parent c336916 commit f5369ed
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion instrumentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
| [opentelemetry-instrumentation-sqlite3](./opentelemetry-instrumentation-sqlite3) | sqlite3 | No
| [opentelemetry-instrumentation-starlette](./opentelemetry-instrumentation-starlette) | starlette ~= 0.13.0 | No
| [opentelemetry-instrumentation-system-metrics](./opentelemetry-instrumentation-system-metrics) | psutil >= 5 | No
| [opentelemetry-instrumentation-tornado](./opentelemetry-instrumentation-tornado) | tornado >= 5.1.1 | No
| [opentelemetry-instrumentation-tornado](./opentelemetry-instrumentation-tornado) | tornado >= 5.1.1 | Yes
| [opentelemetry-instrumentation-urllib](./opentelemetry-instrumentation-urllib) | urllib | No
| [opentelemetry-instrumentation-urllib3](./opentelemetry-instrumentation-urllib3) | urllib3 >= 1.0.0, < 2.0.0 | Yes
| [opentelemetry-instrumentation-wsgi](./opentelemetry-instrumentation-wsgi) | wsgi | Yes
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,8 @@ def client_resposne_hook(span, future):
from functools import partial
from logging import getLogger
from time import time_ns
from typing import Collection
from timeit import default_timer

from typing import Collection

import tornado.web
import wrapt
Expand All @@ -179,8 +178,8 @@ def client_resposne_hook(span, future):
http_status_to_status_code,
unwrap,
)
from opentelemetry.propagators import textmap
from opentelemetry.metrics import Histogram, get_meter
from opentelemetry.propagators import textmap
from opentelemetry.semconv.trace import SpanAttributes
from opentelemetry.trace.status import Status, StatusCode
from opentelemetry.util.http import (
Expand All @@ -192,7 +191,6 @@ def client_resposne_hook(span, future):
normalise_request_header_name,
normalise_response_header_name,
)
from opentelemetry.util.http import get_excluded_urls, get_traced_request_attrs

from .client import fetch_async # pylint: disable=E0401

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@


from timeit import default_timer

from tornado.testing import AsyncHTTPTestCase

from opentelemetry import trace
from opentelemetry.instrumentation.tornado import (
TornadoInstrumentor,
)
from opentelemetry.instrumentation.tornado import TornadoInstrumentor
from opentelemetry.test.test_base import TestBase

from .tornado_test_app import (
make_app,
)
from .tornado_test_app import make_app


class TornadoTest(AsyncHTTPTestCase, TestBase):
Expand Down

0 comments on commit f5369ed

Please sign in to comment.