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-01-13 12:46:33 +08:00
2026-02-05 20:12:30 -08:00
2025-09-18 12:49:10 +08:00
2025-12-09 14:41:46 +08:00
2026-01-27 10:48:42 +08:00
2026-01-06 15:23:50 +08:00
2026-01-30 19:18:49 +08:00
2025-09-15 13:06:33 +08:00
2025-10-10 23:41:16 +08:00
2025-09-15 13:06:33 +08:00
2026-01-31 18:00:56 +09:00
2026-01-31 18:00:56 +09:00
2026-02-02 09:45:17 +08:00
2026-02-05 20:12:28 -08:00
2026-01-30 02:38:57 +08:00
2025-10-28 09:59:30 +08:00
2026-01-30 20:19:35 +08:00
2025-11-13 15:21:44 +08:00
2026-02-05 20:12:30 -08:00
2026-01-30 19:18:49 +08:00
2025-12-09 14:41:46 +08:00
2026-02-02 09:45:17 +08:00
2026-01-30 19:18:49 +08:00
2026-01-31 18:00:56 +09:00
2026-02-01 13:43:14 +09:00
2026-01-30 16:05:02 +08:00
2026-01-13 23:39:34 +09:00
2026-02-05 20:12:30 -08:00
2025-09-10 01:54:26 +08:00
2026-01-08 13:17:30 +08:00
2026-02-02 19:07:30 +09:00
2025-12-09 14:41:46 +08:00
2026-01-08 13:17:30 +08:00