Skip to content

Commit 5f30ce6

Browse files
authored
[usdt] http_attach_client_session: add args (#13041)
Add the following USDT arguments to http_attach_client_session: transaction id, netVC id.
1 parent fbf9277 commit 5f30ce6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/proxy/http/HttpSM.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ HttpSM::attach_client_session(ProxyTransaction *txn)
423423
if (!netvc) {
424424
return;
425425
}
426-
ATS_PROBE2(http_attach_client_session, sm_id, netvc->get_socket());
426+
ATS_PROBE4(http_attach_client_session, sm_id, netvc->get_socket(), txn->get_transaction_id(),
427+
dynamic_cast<UnixNetVConnection *>(netvc) ? dynamic_cast<UnixNetVConnection *>(netvc)->id : 0);
427428
_ua.set_txn(txn, milestones);
428429

429430
// Collect log & stats information. We've already verified that the netvc is !nullptr above,

0 commit comments

Comments
 (0)