You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There isn't much control on our side as you said with the qlog, the good think is that it works, I may add some error checks when calling quiche as I was testing with some invalid dir and I never knew.
Also I think we should go for something like this in the config that can let us grow eventually and proivide a more granular configuration:
ts:
quic:
qlog:
base_name: /some/dir/test1
similiar to what provides h2load,
--qlog-file-base=<PATH>
Enable qlog output and specify base file name for qlogs.
Qlog is emitted for each connection. For a given base
name "base", each output file name becomes
"base.M.N.sqlog" where M is worker ID and N is client ID
(e.g. "base.0.3.sqlog"). Only effective in QUIC runs.
You provide a base name, which may include a folder and ATS will append the trace_id + the extension to it, so we will end up with something like /some/dur/test1_b5c9cbf4d41cd60c779f059d749dd3cd5b8.sqlog
1 - @maskit@bryancall what do you guys think about the config change? It's currently proxy.config.quic.qlog_dir?
2 - Also, shouldn't we do this record overridable(conf_remap)? otherwise we may create tons of this if we aren't careful.
I'm fine with the config change. I don't remember current filename format, but the change would just makes /abc/xyz/123.qlog to /abc/xyz-123.qlog.
Yes, we need some control on that. Currently qlog is enabled by setting a path to config_dir and unsetting it disables qlog. Having "ts.quic.qlog.enable" may make it easier to enable/disable qlog by conf_remap.
Activity
maskit commentedon Jan 31, 2023
There are some code for QLog already but I'm not sure if it's working.
brbzull0 commentedon Feb 23, 2023
There isn't much control on our side as you said with the qlog, the good think is that it works, I may add some error checks when calling quiche as I was testing with some invalid dir and I never knew.
Also I think we should go for something like this in the config that can let us grow eventually and proivide a more granular configuration:
similiar to what provides
h2load,You provide a base name, which may include a folder and ATS will append the trace_id + the extension to it, so we will end up with something like
/some/dur/test1_b5c9cbf4d41cd60c779f059d749dd3cd5b8.sqlog1 - @maskit @bryancall what do you guys think about the config change? It's currently
proxy.config.quic.qlog_dir?2 - Also, shouldn't we do this record overridable(conf_remap)? otherwise we may create tons of this if we aren't careful.
maskit commentedon Feb 23, 2023
brbzull0 commentedon Feb 27, 2023
done #9461
I have question on this regard, isn't the config remap hook happening at a later stage than where we enable/disable qlogs?
maskit commentedon Feb 27, 2023
Ah, right. We probably need a SNI action for it instead.