Closed
Conversation
Add Alibaba-specific extensions to the GenAI workflow semantic conventions, including span definitions with Alibaba infrastructure attributes (env, idc, user.data, RL experiment/group/job IDs) and workflow duration metric. 🤖 Generated with [Qoder][https://qoder.com]
…fic attrs Add gen_ai.provider.name, gen_ai.operation.name, gen_ai.workflow.name, gen_ai.input.messages, gen_ai.output.messages, error.type to workflow span and metric definitions. Remove alibaba.* attributes - they belong only in the custom branch. 🤖 Generated with [Qoder][https://qoder.com]
Add span.gen_ai.invoke_workflow.client to spans.yaml, metric.gen_ai.workflow.duration to metrics.yaml, and gen_ai.workflow.name + invoke_workflow operation enum to registry.yaml. Remove model/gen-ai/alibaba/workflow.yaml. 🤖 Generated with [Qoder][https://qoder.com]
Cirilla-zmh
reviewed
Apr 8, 2026
| linkTitle: Workflow | ||
| ---> | ||
|
|
||
| # Semantic Conventions for GenAI Workflow |
Collaborator
There was a problem hiding this comment.
Hey @steverao, I believe we do have this in OTel repo: https://github.com/open-telemetry/semantic-conventions/blob/main/docs/gen-ai/gen-ai-agent-spans.md.
Maybe we should synchronize the latest semantic conventions from upstream first.
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Add workflow semantic conventions, follow otel community definition:
Important
Pull requests acceptance are subject to the triage process as described in Issue and PR Triage Management.
PRs that do not follow the guidance above, may be automatically rejected and closed.
Merge requirement checklist
[chore]