编码智能体的日志只记录“发生了什么”,却不显示时间和token花在哪里。阿里云发文指出,这种缺失让开发者难以定位性能瓶颈。
文中给出解决方案:用三条命令从DeepSeek Harness获取OpenTelemetry GenAI追踪,即可补全关键信息。追踪结果可在Jaeger或Langfuse中查看,方便直观分析。
![]()
这套方法将日志从“记录事件”升级为“追踪链路”,帮助开发者看清每一步的资源消耗。教程链接已附在原文中,可直接参考操作。
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.