Skip to content
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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kludex
Copy link
Contributor

@Kludex Kludex commented Dec 20, 2024

No description provided.

@Kludex Kludex requested a review from a team as a code owner December 20, 2024 19:03
@github-actions github-actions bot requested a review from shalevr December 20, 2024 19:04
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
Copy link
Contributor

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

Copy link
Contributor Author

@Kludex Kludex Dec 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants