open-telemetry / open-telemetry/opentelemetry-python-genai
[bedrock] Add invoke_agent span
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39
- Forks
- 63
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 175
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
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 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.
Assessment
- Tech stack
- aws, python
- Domain
- ai, observability
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100