[bedrock] Add invoke_agent span
Maintainers usually reply within 1 day
Nobody has claimed this yet.
- #767 by @SAMurai-16 — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- aws, python
- Domain
- ai, observability
Research direction
Start by locating the existing AWS Bedrock instrumentation and the bedrock-agent-runtime entry point for invoke_agent. Implement the client span with the listed GenAI attributes and server fields, then verify that invoke_agent produces the expected operation name, span kind, and mappings from agentId, agentAliasId, sessionId, and inputText.
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 #568.
Add instrumentation for invoke_agent in AWS Bedrock Agent Runtime (bedrock-agent-runtime).
- Operation: maps to GenAI
invoke_agent(gen_ai.operation.name: "invoke_agent") - Span kind:
client - Attributes:
gen_ai.provider.name: "aws.bedrock",gen_ai.agent.id(fromagentId),gen_ai.agent.version(fromagentAliasId),gen_ai.conversation.id(fromsessionId),gen_ai.input.messages(frominputText),server.address,server.port
- Dominant language
- Python
- Stars
- 48
- Forks
- 105
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 109
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-llama-index] Instrumentor imports llama_index at module load, crashes auto-instrumentation on Python 3.15Possibly taken @haneric00 claimed this 2 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-python-genai#1036 · 1 comment ·
Maintainers usually reply within 1 day
-
`opentelemetry-instrumentation-openai-v2` instrumentor entry point fails to loadPossibly taken @lmolkova claimed this 8 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
open-telemetry/opentelemetry-python-genai#997 · 2 comments ·
Maintainers usually reply within 1 day
-
Support disabling OpenAI Agents native trace export through an environment variablePossibly taken @123liuziming claimed this 17 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
open-telemetry/opentelemetry-python-genai#922 · 3 comments ·
Maintainers usually reply within 1 day
-
[genai-bedrock] invoke_model body passed as a file-like object: no request parameters or input messages are recordedPossibly taken @SyedTashfin claimed this 27 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-python-genai#848 ·
Maintainers usually reply within 1 day
-
util-genai: ToolInvocation._apply_finish never calls the completion hook, so tool arguments/results bypass redaction hooksPossibly taken @akshat-lakhera claimed this 15 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
open-telemetry/opentelemetry-python-genai#678 · 2 comments ·
Maintainers usually reply within 1 day
All issues in open-telemetry/opentelemetry-python-genai
Similar issues
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
aws-samples/sample-per-model-bedrock#782 ·
Maintainers usually reply within 1 day
-
Google text documents are base64-encoded twicePossibly taken @feiiiiii5 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
coveragepy/coveragepy#2364 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100