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
Hi All
There is a trace sampling requirement in our business, the purpose is to understand what a query request has experienced throughout its life cycle. The existing trace solution is obviously not very satisfactory. My initial idea is as follows:
Add trace strcut, which includes some data:
bool hit_mem_table;
bool hit_row_cache;
bool hit_block_cache;
bool hit_sys_disk;
uint64_t read_disk_us;
...
Overload the new Get method and add the parameter trace struct to the function signature;
If the trace object exists, write the statistical information to the trace in the key path of the code.
Note that the generation of trace has a certain sampling rate, and not every request calls this method.
I haven't received a timely reply in the mail group & hope to hear from everyone
The text was updated successfully, but these errors were encountered:
Hi All
There is a trace sampling requirement in our business, the purpose is to understand what a query request has experienced throughout its life cycle. The existing trace solution is obviously not very satisfactory. My initial idea is as follows:
...
Note that the generation of trace has a certain sampling rate, and not every request calls this method.
I haven't received a timely reply in the mail group & hope to hear from everyone
The text was updated successfully, but these errors were encountered: