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

enable timeout for http transports #1275

Merged
merged 5 commits into from
Apr 25, 2024
Merged

Conversation

brettmc
Copy link
Collaborator

@brettmc brettmc commented Apr 12, 2024

Attempt to do our own discovery for some well-known PSR-18 clients, which allows for configuring timeout (and in future certificates, keys etc). If we can't create a client, fall back to PSR-18 discovery which was the previous behaviour.

Fixes: #1111

Attempt to do our own discovery for some well-known PSR-18 clients, which allows
for configuring timeout (and in future certificates, keys etc).
This is not complete and a prototype for feedback, but I've updated an example to
show that it works for Guzzle and Symfony http clients
Copy link
Collaborator

@bobstrecansky bobstrecansky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like a good direction and a net positive to me.

@brettmc brettmc marked this pull request as ready for review April 18, 2024 05:16
@brettmc brettmc requested a review from a team as a code owner April 18, 2024 05:16
@brettmc brettmc merged commit 5a395e0 into open-telemetry:main Apr 25, 2024
9 checks passed
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.

$timout in PsrTransportFactory is not used
2 participants