Skip to content

Add gen_ai.conversation.id attribute#2163

Merged
lmolkova merged 1 commit intoopen-telemetry:mainfrom
gyliu513:ssn
May 7, 2025
Merged

Add gen_ai.conversation.id attribute#2163
lmolkova merged 1 commit intoopen-telemetry:mainfrom
gyliu513:ssn

Conversation

@gyliu513
Copy link
Copy Markdown
Member

@gyliu513 gyliu513 commented Apr 22, 2025

Fixes #2024

Changes

Please provide a brief description of the changes here.

Note: if the PR is touching an area that is not listed in the existing areas, or the area does not have sufficient domain experts coverage, the PR might be tagged as experts needed and move slowly until experts are identified.

Merge requirement checklist

@gyliu513 gyliu513 requested review from a team as code owners April 22, 2025 18:18
@github-actions github-actions Bot added the enhancement New feature or request label Apr 22, 2025
@gyliu513 gyliu513 changed the title Add sessionId to invoke agent Add session_id to invoke agent Apr 22, 2025
@gyliu513
Copy link
Copy Markdown
Member Author

@xrmx this is a follow up from your comments at https://github.com/open-telemetry/semantic-conventions/pull/1900/files#r2016253235 , but I was using session_id instead, hope it is ok, thanks!

@lmolkova lmolkova moved this from Untriaged to Awaiting SIG approval in Semantic Conventions Triage Apr 27, 2025
Comment thread .chloggen/2024.yaml Outdated
Comment thread model/gen-ai/registry.yaml Outdated
Comment thread model/gen-ai/registry.yaml Outdated
Comment thread model/gen-ai/registry.yaml Outdated
@gyliu513 gyliu513 changed the title Add session_id to invoke agent Add gen_ai.conversation.id to attributes.gen_ai.inference.client Apr 29, 2025
Copy link
Copy Markdown
Member

@drewby drewby left a comment

Choose a reason for hiding this comment

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

I love this addition. I just had some minor feedback on the description and condition.

Comment thread model/gen-ai/registry.yaml Outdated
Comment thread model/gen-ai/spans.yaml
@gyliu513 gyliu513 force-pushed the ssn branch 2 times, most recently from 0c5e767 to af51528 Compare May 1, 2025 16:14
Comment thread model/gen-ai/spans.yaml Outdated
Comment thread model/gen-ai/registry.yaml Outdated
Comment thread .chloggen/2024.yaml Outdated
@gyliu513 gyliu513 changed the title Add gen_ai.conversation.id to attributes.gen_ai.inference.client Add gen_ai.conversation.id attribute May 1, 2025
Comment thread docs/gen-ai/gen-ai-spans.md Outdated
Comment thread model/gen-ai/spans.yaml Outdated
Comment thread model/gen-ai/spans.yaml Outdated
Comment thread docs/gen-ai/gen-ai-spans.md Outdated
@github-project-automation github-project-automation Bot moved this from Awaiting SIG approval to Needs More Approval in Semantic Conventions Triage May 5, 2025
Comment thread model/gen-ai/spans.yaml Outdated
@lmolkova
Copy link
Copy Markdown
Member

lmolkova commented May 7, 2025

@gyliu513 could you please resolve conflicts? It's ready to go otherwise

@lmolkova lmolkova added this pull request to the merge queue May 7, 2025
Merged via the queue into open-telemetry:main with commit 27e657c May 7, 2025
14 checks passed
@gyliu513 gyliu513 deleted the ssn branch May 7, 2025 19:50
lmolkova pushed a commit to lmolkova/semantic-conventions that referenced this pull request May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:gen-ai enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Adding gen_ai.agent.conversation_id for invoke agent

5 participants