Skip to content

feat(gen-ai): Add alibaba semconv workflow#4

Closed
clongbupt wants to merge 11 commits intomainfrom
feat/add-alibaba-semconv-workflow
Closed

feat(gen-ai): Add alibaba semconv workflow#4
clongbupt wants to merge 11 commits intomainfrom
feat/add-alibaba-semconv-workflow

Conversation

@clongbupt
Copy link
Copy Markdown
Collaborator

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

  • CONTRIBUTING.md guidelines followed.
  • Change log entry added, according to the guidelines in When to add a changelog entry.
    • If your PR does not need a change log, start the PR title with [chore]
  • Links to the prototypes or existing instrumentations (when adding or changing conventions)

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]
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 8, 2026

CLA assistant check
All committers have signed the CLA.

linkTitle: Workflow
--->

# Semantic Conventions for GenAI Workflow
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@clongbupt clongbupt changed the title [feat]: Add alibaba semconv workflow chore: Add alibaba semconv workflow Apr 8, 2026
@clongbupt clongbupt changed the title chore: Add alibaba semconv workflow [chore]: Add alibaba semconv workflow Apr 9, 2026
@clongbupt clongbupt changed the title [chore]: Add alibaba semconv workflow feat(gen-ai): Add alibaba semconv workflow Apr 9, 2026
Copy link
Copy Markdown
Collaborator

@mktest1234 mktest1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@steverao steverao closed this in #9 Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants