Propose an update to the values of 'gen_ai.system' for Google.#2050
Merged
trask merged 10 commits intoopen-telemetry:mainfrom Apr 16, 2025
Merged
Propose an update to the values of 'gen_ai.system' for Google.#2050trask merged 10 commits intoopen-telemetry:mainfrom
trask merged 10 commits intoopen-telemetry:mainfrom
Conversation
lmolkova
reviewed
Apr 3, 2025
Co-authored-by: Liudmila Molkova <[email protected]>
6 tasks
lmolkova
reviewed
Apr 7, 2025
lmolkova
reviewed
Apr 7, 2025
lmolkova
reviewed
Apr 10, 2025
lmolkova
approved these changes
Apr 10, 2025
gyliu513
approved these changes
Apr 16, 2025
jsuereth
approved these changes
Apr 16, 2025
lmolkova
pushed a commit
to lmolkova/semantic-conventions
that referenced
this pull request
May 13, 2025
…telemetry#2050) Co-authored-by: Liudmila Molkova <[email protected]>
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.
Fixes #1950
Changes
Refines the values of
gen_ai.systemfor Google's AI products.The Google Gen AI SDK defined here:
... provides a common client for both the Vertex AI and Gemini APIs and reflects some degree of intended sharing / convergence between these two systems. Having totally separate names (like
vertex_aiandgemini) without a common prefix means that any vendor-specific attributes would need to be defined duplicatively for bothvertex_aiand forgemini, even if supported by both systems.Additionally, code built on top of the Google Gen AI SDK may not necessarily know which backend is being used.
This change proposes a common prefix (
gcp.gen_ai) which may be used for any Google-specific Gen AI attributes that are common between both backend systems. More specific sub-systems (gcp.gen_ai.vertex_aiandgcp.gen_ai.gemini) still exist to allow for divergent properties where desireable. However, the common prefix should make it easier to provide unified Semantic Conventions where it makes sense to do so, simplifying conventions and instrumentation.Merge requirement checklist
[chore]