Skip to content

Commit 3d97c59

Browse files
committed
feat(trace) add rust_server_cmd context fields
why: Need per-command context when tracing slow rust backend calls. what: - include socket/config/connection_kind on rust_server_cmd span
1 parent 96b9db7 commit 3d97c59

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/libtmux/common.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,10 @@ def _rust_cmd_result(
270270
"rust_server_cmd",
271271
layer="rust",
272272
cmd=cmd_line,
273+
socket_name=socket_name,
274+
socket_path=socket_path,
275+
config_file=config_file,
276+
connection_kind=connection_kind,
273277
):
274278
result = server.cmd(cmd_line)
275279
except Exception as err:

0 commit comments

Comments
 (0)