Support uploading host_name info in the tool event logger

host_name info is useful in several use cases including
1) to distinguish the concurrent tool invocations from the same user.
2) to understand the potential different performance from different hosts (e.g. local workstation VS cloudtop).
3) required to integrate the tool event log with the EPR system.

Test: atest tool_event_logger_test
Bug: 348482213

Change-Id: I98422b3f8ccec73d57fcdcdedac91780c448dc47
This commit is contained in:
Zhuoyao Zhang
2024-06-21 20:47:57 +00:00
parent 79d04e4115
commit d067588a26
3 changed files with 9 additions and 0 deletions

View File

@@ -27,6 +27,8 @@ message ToolEvent {
string source_root = 3;
// Name of the tool used.
string tool_tag = 6;
// Name of the host workstation.
string host_name = 7;
oneof event {
InvocationStarted invocation_started = 4;