mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Add http_proxy option
This commit is contained in:
parent
d154415a5b
commit
52f7b9545b
@ -76,6 +76,12 @@ void SentryWriter::initialize(Poco::Util::LayeredConfiguration & config)
|
||||
sentry_options_set_environment(options, "test");
|
||||
}
|
||||
|
||||
const std::string & http_proxy = config.getString("send_crash_reports.http_proxy", "");
|
||||
if (!http_proxy.empty())
|
||||
{
|
||||
sentry_options_set_http_proxy(options, http_proxy.c_str());
|
||||
}
|
||||
|
||||
int init_status = sentry_init(options);
|
||||
if (!init_status)
|
||||
{
|
||||
|
@ -360,6 +360,7 @@ Keys:
|
||||
- `enabled` – Boolean flag to enable the feature. Set to `true` to allow sending crash reports.
|
||||
- `endpoint` – Overrides the Sentry endpoint.
|
||||
- `anonymize` - Avoid attaching the server hostname to crash report.
|
||||
- `http_proxy` - Configure HTTP proxy for sending crash reports.
|
||||
- `debug` - Sets the Sentry client into debug mode.
|
||||
- `tmp_path` - Filesystem path for temporary crash report state.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user