feat(studio): add telemetry events - #838
Merged
yaozheng-fang merged 5 commits intoAug 6, 2026
Merged
Conversation
yaozheng-fang
approved these changes
Aug 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
这个分支做了什么
这个分支主要补齐 Studio 前端关键使用链路的埋点,并优化已有埋点结构,让成功/失败通过状态字段表达,便于后续按同一个事件聚合分析。
具体改动
studio_agent_deploy,通过deploy_status区分结果,并补充部署来源、创建模式、是否使用智能生成、部署类型、地域、网络类型、飞书开关和失败信息。studio_sandbox_create,通过sandbox_status区分结果,并记录 Sandbox 类型、入口来源和失败信息。studio_agent_debug,记录调试是否成功、耗时、调试变体和失败阶段。studio_agent_connect,记录连接状态、Agent 类型、连接入口、耗时和失败信息。studio_agent_message,记录消息状态、Agent 类型、消息来源、新/老会话、耗时和失败阶段。studio_agent_source_download,记录下载状态、创建来源、文件数量、zip 大小和耗时。trackStudioEvent。veadk/webui静态资源,确保通过本地 packaged Studio 启动时也能使用最新埋点代码。验证
uv run pre-commit run --all-filesnpx tsc --noEmitnpm --prefix frontend testnpm --prefix frontend run build