[bedrock] Add invoke_agent span

Open
#569 0 comments 0 reactions 0 assignees View on GitHub

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

openinference-migration

[!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 (from agentId), gen_ai.agent.version (from agentAliasId), gen_ai.conversation.id (from sessionId), gen_ai.input.messages (from inputText), server.address, server.port
Dominant language
Python
Stars
48
Forks
105
Avg merge
2d 2h
Merged PRs (30d)
109

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from open-telemetry/opentelemetry-python-genai

All issues in open-telemetry/opentelemetry-python-genai

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.