Self Checks
Dify version
v1.10.0
Cloud or Self Hosted
Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
Following metrics are missing in agent-chat mode of tencent trace.
- gen_ai.client.operation.duration
- gen_ai.server.time_to_first_token
- gen_ai.streaming.time_to_generate
✔️ Expected Behavior
Agent-chat traces should have the same completeness as advanced-chat workflow traces:
- Complete metrics collection
- Dedicated LLM span with full attributes
- Correct streaming detection
❌ Actual Behavior
- Streaming requests are incorrectly marked as
stream="false"
- No LLM child span is created (unlike workflow LLM nodes)