-
Notifications
You must be signed in to change notification settings - Fork 852
Open
Description
Which component is this bug for?
Bedrock Instrumentation
π Description
we are not getting the out of the box span attributes (gen_ai.usage.output_tokens, gen_ai.usage.input_token etc..), not the bedrock.converse span when working with bedrock converse and aiboto3
π Reproduction steps
aioboto3_session = aioboto3.Session(
aws_access_key_id=xx,
aws_secret_access_key=xx,
aws_session_token=xx,
region_name=REGION
)
async with aioboto3_session.client('bedrock-runtime') as bedrock_client:
response = await bedrock_client.converse(
modelId=model,
system=system,
messages=messages)
π Expected behavior
get the bedrock.converse span as well as all out of the box span attributes
π Actual Behavior with Screenshots
- no bedrock.converse span
- no out of the box attributes llm span attributes
π€ Python Version
3.12
π Provide any additional context for the Bug.
No response
π Have you spent some time to check if this bug has been raised before?
- I checked and didn't find similar issue
Are you willing to submit PR?
None
Metadata
Metadata
Assignees
Labels
No labels