Skip to content

Commit 940b9c2

Browse files
committed
Document status of bedrock extension
1 parent b7888fe commit 940b9c2

File tree

1 file changed

+32
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore

1 file changed

+32
-0
lines changed

instrumentation/opentelemetry-instrumentation-botocore/src/opentelemetry/instrumentation/botocore/__init__.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,38 @@ def response_hook(span, service_name, operation_name, result):
7676
)
7777
ec2 = self.session.create_client("ec2", region_name="us-west-2")
7878
ec2.describe_instances()
79+
80+
Extensions
81+
----------
82+
83+
The instrumentation supports creating extensions for AWS services for enriching what is collected. We have extensions
84+
for the following AWS services:
85+
86+
- Bedrock Runtime
87+
- DynamoDB
88+
- Lambda
89+
- SNS
90+
- SQS
91+
92+
Bedrock Runtime
93+
***************
94+
95+
This extensions implements the GenAI semantic conventions for the following API calls :
96+
97+
- Converse
98+
- ConverStream
99+
- InvokeModel
100+
- InvokeModelWithStreamResponse
101+
102+
For the Converse and ConverseStream APIs tracing, events and metrics are implemented.
103+
104+
For the InvokeModel and InvokeModelWithStreamResponse APIs tracing, events and metrics implemented only for a subset of
105+
the available models, namely:
106+
- Amazon Titan models
107+
- Amazon Nova models
108+
- Anthropic Claude
109+
110+
There is no support for tool calls with Amazon Models for the InvokeModel and InvokeModelWithStreamResponse APIs.
79111
"""
80112

81113
import logging

0 commit comments

Comments
 (0)