GareArc
8ceb1ed96f
feat(telemetry): add input/output token split to enterprise OTEL traces
- Add PROMPT_TOKENS and COMPLETION_TOKENS to WorkflowNodeExecutionMetadataKey
- Store prompt/completion tokens in node execution metadata JSON (no schema change)
- Calculate workflow-level token split by summing node executions on-the-fly
- Export gen_ai.usage.input_tokens and output_tokens to enterprise telemetry
- Add semantic convention constants for token attributes
- Maintain backward compatibility (historical data shows null)
BREAKING: None
MIGRATION: None (uses JSON metadata, no schema changes)
2026-02-05 20:12:30 -08:00
..
2026-02-02 21:03:16 +09:00
2025-11-27 20:46:56 +08:00
2026-01-31 18:00:56 +09:00
2026-01-31 18:00:56 +09:00
2026-02-02 21:03:16 +09:00
2025-12-05 11:19:19 +08:00
2025-11-27 20:46:56 +08:00
2026-01-31 18:00:56 +09:00
2026-01-30 19:18:49 +08:00
2025-11-27 20:46:56 +08:00
2026-01-31 18:00:56 +09:00
2026-02-02 09:45:17 +08:00
2026-02-02 19:07:30 +09:00
2026-01-31 18:00:56 +09:00
2026-02-05 20:12:30 -08:00
2026-01-28 19:57:55 +08:00
2025-12-25 10:19:50 +08:00
2025-12-10 09:19:13 +08:00
2026-01-09 16:13:17 +08:00
2026-01-05 10:46:37 +08:00
2026-02-05 20:12:30 -08:00
2025-11-27 20:46:56 +08:00
2025-11-27 15:41:56 +08:00
2025-12-15 19:55:59 +08:00
2025-11-27 20:46:56 +08:00
2026-01-13 23:39:34 +09:00
2025-09-18 12:49:10 +08:00
2025-12-01 14:14:19 +08:00
2026-01-31 18:00:56 +09:00