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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: Add tracing.http_client_requests option #641

Merged
merged 2 commits into from Jan 31, 2023

Conversation

cleptric
Copy link
Member

We should allow people to opt out of HTTP client tracing. Feels like we missed this in #585 馃檪

@@ -108,6 +115,8 @@ public function __construct(array $config, BacktraceHelper $backtraceHelper)
$this->traceSqlQueries = ($config['sql_queries'] ?? true) === true;
$this->traceSqlQueryOrigins = ($config['sql_origin'] ?? true) === true;

$this->traceHttpClientRequests = ($config['http_client_requests'] ?? true) === true;
Copy link
Member Author

Choose a reason for hiding this comment

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

Opted for enabled by default, to not break for people that already use it without updating their config.

Copy link
Collaborator

@stayallive stayallive left a comment

Choose a reason for hiding this comment

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

Good one 馃憣

@cleptric cleptric merged commit d64cf29 into master Jan 31, 2023
@cleptric cleptric deleted the http-client-tracing-option branch January 31, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants