open-telemetry / open-telemetry/opentelemetry-python-contrib
Google GenAI SDK instrumentation should update "gcp.gen_ai.operation.config.*" to be a single JSON string.
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 1.1k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 16
Description
Right now it is flattened into a bunch of fields. However, feedback in Semantic Conventions https://github.com/open-telemetry/semantic-conventions/pull/2125 is that this should be a JSON string instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Google GenAI instrumentation that emits gcp.gen_ai.operation.config.* and review the linked Semantic Conventions pull request. The work is complete when these flattened fields are emitted as one JSON string with the specified attribute name and the relevant instrumentation tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100