[anthropic] Add beta.messages.parse span
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- observability
Research direction
Review the existing Anthropic instrumentation in src/opentelemetry/instrumentation/genai/anthropic/init.py and patch.py, focusing on Messages.parse and AsyncMessages.parse. Check the existing tests and tracing behavior for comparable methods first. Done means both parse entry points produce the gen_ai.inference.client chat span as described, with tests covering the behavior.
Written by the indexing model from the issue text.
Description
[!NOTE]
This issue was generated with AI assistance and requires investigation and confirmation prior to being worked on.
Part of #542.
Add tracing for anthropic.resources.beta.messages.Messages.parse and AsyncMessages.parse.
- Maps to
gen_ai.inference.client(chat) - Affected files:
src/opentelemetry/instrumentation/genai/anthropic/__init__.py,patch.py, tests
- Dominant language
- Python
- Stars
- 40
- Forks
- 72
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 124
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from open-telemetry/opentelemetry-python-genai
-
[genai-bedrock] converse with messages passed as a tuple: gen_ai.input.messages is not recordedOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
open-telemetry/opentelemetry-python-genai#849 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-python-genai#848 ·
Maintainers usually reply within 1 day
-
[google-genai] uninstrument() raises AssertionError because __init__ resets the method snapshot on the singleton instrumentor; calls stay tracedPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-telemetry/opentelemetry-python-genai#845 ·
Maintainers usually reply within 1 day
-
[genai-openai] Responses: record computer_call server toolPossibly taken @1fanwang claimed this 3 days ago. Openenhancement
Difficulty 1/5 Under an hour Newbie friendliness 76/100
open-telemetry/opentelemetry-python-genai#831 ·
Maintainers usually reply within 1 day
-
[genai-openai] Responses: reasoning items passed back as input are droppedPossibly taken @SAMurai-16 claimed this 3 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-telemetry/opentelemetry-python-genai#830 ·
Maintainers usually reply within 1 day
All issues in open-telemetry/opentelemetry-python-genai
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
FuRongJun-1999/dsh-memory#65 ·
Maintainers usually reply within 1 day
-
ci needs-ac
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Ikalus1988/MisakaNet#2930 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Qiskit/qiskit-aer#2466 ·
-
area/cli
Difficulty 2/5 1-3 hours Newbie friendliness 82/100