Skip to content

Commit dff4216

Browse files
genevievehelselmeta-codesync[bot]
authored andcommitted
telemetry: Log coding agent metadata to Scuba
Summary: Add agentic_fingerprint_id and agentic_fingerprint_invocation_id columns to EdenFS and Watchman Scuba tables when CODING_AGENT_METADATA env var is set Reviewed By: quark-zju Differential Revision: D94430888 fbshipit-source-id: 339faae4585b5e7eade8ca1fb3d925a472eaa16f
1 parent d58068d commit dff4216

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eden/fs/cli/daemon.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,8 @@ def get_edenfs_environment(
497497
# when starting edenfs with cgroup isolation.
498498
"XDG_RUNTIME_DIR",
499499
"DBUS_SESSION_BUS_ADDRESS",
500+
# Used to identify if edenfs was started by a coding agent
501+
"CODING_AGENT_METADATA",
500502
]
501503

502504
# Add user-specified environment variables to preserve

0 commit comments

Comments
 (0)