Task · CFO-0007

Research and freeze current OTel GenAI semantic conventions for AI Gateway

Description

Use the otel-semantic-conventions skill and live upstream sources (not memory): GenAI conventions change often. Output is a frozen mapping from every AI Gateway log field to gen_ai.* span, event, log and metric names, plus cloudflare.ai_gateway.* for the rest.

Acceptance Criteria

Definition of Done

Implementation Plan

Pin current upstream GenAI semantic conventions to an exact commit, map every doc-0003 AI Gateway field and native span attribute, then commit the reviewed mapping after W0.

Implementation Notes

W1 general subagent returned spec/genai-mapping.md. Field inventory: 48 Cloudflare fields and all 8 native attributes mapped; upstream commit 8ffdf568e1b4391a99adb081db16e8102e36918e. Pending commit and W7 implementation validation.

Mapping pins upstream GenAI commit 8ffdf568e1b4391a99adb081db16e8102e36918e; field inventory and content mapping reviewed, exact CI 35875578089 succeeded.

Final Summary

Frozen GenAI mapping and opt-in content contract released and reviewed.

View the source file on GitHub