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-30 19:18:49 +08:00
2026-02-05 20:12:30 -08:00
2026-02-02 18:03:07 +09:00
2024-12-24 18:38:51 +08:00
2025-10-05 15:57:42 +09:00
2026-01-06 11:40:34 +08:00
2026-01-30 19:18:49 +08:00
2024-11-30 23:05:22 +08:00
2026-01-23 13:11:56 +08:00
2025-10-21 11:26:58 +08:00
2026-01-05 11:10:45 +08:00
2026-02-05 20:12:29 -08:00
2026-01-30 22:39:02 +09:00
2025-12-01 14:14:19 +08:00
2024-11-30 23:05:22 +08:00
2025-10-05 15:57:42 +09:00
2026-01-04 11:46:46 +08:00
2025-12-16 14:19:33 +08:00
2026-01-14 10:21:26 +08:00
2025-09-15 13:06:33 +08:00
2025-10-21 11:26:58 +08:00
2025-09-06 03:32:23 +08:00
2025-12-05 21:58:32 +08:00
2025-10-21 11:26:58 +08:00
2026-01-30 19:18:49 +08:00
2025-12-02 17:22:34 +08:00
2025-10-21 11:26:58 +08:00
2025-12-15 12:01:41 +08:00
2024-11-30 23:05:22 +08:00
2025-11-26 16:21:33 +08:00
2024-11-30 23:05:22 +08:00
2024-11-30 23:05:22 +08:00