-
Notifications
You must be signed in to change notification settings - Fork 642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support PEP 561 to opentelemetry-instrumentation-urllib3
#3130
base: main
Are you sure you want to change the base?
Conversation
.../opentelemetry-instrumentation-urllib3/src/opentelemetry/instrumentation/urllib3/__init__.py
Show resolved
Hide resolved
import collections.abc | ||
import io | ||
import typing | ||
from dataclasses import dataclass | ||
from timeit import default_timer | ||
from typing import Collection | ||
from typing import Any, Callable, Collection, Mapping, Optional | ||
|
||
import urllib3.connectionpool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe update callers of this while we are it? It looks like we are only using urllib3.connectionpool.HTTPConnectionPool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean the wrap
calls? I didn't want to do it because it may have some runtime unexpected behavior that I'm not aware. Should I change it as well?
But FYI, it was on purpose.
No description provided.