<commit_before>/*
 * Trace Event Meta Data Fields, please follow the pattern when you add new one.
 */

/* ---- Error Fields ---- */
ErrorStage, "error_stage"
Error, "error_description"
ProxygenError, "proxygen_error"
HTTPStatus, "http_status"
DirectionError, "error_direction"
CodecError, "codec_error"

/* ---- Used in RequestExchange ---- */
Uri, "uri"
IsSecure, "is_secure"
UsingProxy, "using_proxy"
StatusCode, "status_code"
ServerAddr, "server_address"
ServerPort, "server_port"
Protocol, "protocol"
ContentType, "content_type"
UsingSpdy, "using_spdy"
ReqHeaderSize, "request_header_size"
ReqBodySize, "request_body_size"
RspHeaderSize, "response_header_size"
RedirectLocation, "redirect_location"
NumRedirects, "num_redirects"
RedirectResponseCode, "redirect_response_code"
NumRetries, "num_retries"

/* ---- Used in ResponseBodyRead ---- */
RspBodySize, "response_body_size"
RspIntvlAvg, "response_interval_average"
RspIntvlStdDev, "response_interval_stddev"
RspNumOnBody, "response_number_on_body"
ServerQuality, "response_server_quality"

/* ---- Used in PreConnect ---- */
NewConnection, "new_connection"
SessionManagerType, "sess_mgr_type"
InFlightConns, "in_flight_conns"
<commit_msg>Add more tracing fields to PreConnect event<commit_after>/*
 * Trace Event Meta Data Fields, please follow the pattern when you add new one.
 */

/* ---- Error Fields ---- */
ErrorStage, "error_stage"
Error, "error_description"
ProxygenError, "proxygen_error"
HTTPStatus, "http_status"
DirectionError, "error_direction"
CodecError, "codec_error"

/* ---- Used in RequestExchange ---- */
Uri, "uri"
IsSecure, "is_secure"
UsingProxy, "using_proxy"
StatusCode, "status_code"
ServerAddr, "server_address"
ServerPort, "server_port"
Protocol, "protocol"
ContentType, "content_type"
UsingSpdy, "using_spdy"
ReqHeaderSize, "request_header_size"
ReqBodySize, "request_body_size"
RspHeaderSize, "response_header_size"
RedirectLocation, "redirect_location"
NumRedirects, "num_redirects"
RedirectResponseCode, "redirect_response_code"
NumRetries, "num_retries"

/* ---- Used in ResponseBodyRead ---- */
RspBodySize, "response_body_size"
RspIntvlAvg, "response_interval_average"
RspIntvlStdDev, "response_interval_stddev"
RspNumOnBody, "response_number_on_body"
ServerQuality, "response_server_quality"

/* ---- Used in PreConnect ---- */
NewConnection, "new_connection"
SessionManagerType, "sess_mgr_type"
InFlightConns, "in_flight_conns"
CachedSessions, "cached_sessions"
ConnsStarted, "conns_started"
RequestsWaited, "requests_waited"
TotalRequestsWaited, "total_requests_waited",
TotalConnsStarted, "total_conns_started"

{'fraction_non_alphanumeric': 0.11958604829436566, 'fraction_numerical': 0.0, 'mean_word_length': 7.080495356037152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7375448', 'n_tokens_mistral': 880, 'n_tokens_neox': 857, 'n_words': 188}