Skip to content

Latest commit

 

History

History

opentelemetry-instrumentation-botocore

OpenTelemetry Botocore Tracing

pypi

This library allows tracing requests made by the Botocore library.

Extensions

The instrumentation supports creating extensions for AWS services for enriching what is collected. We have extensions for the following AWS services:

  • Bedrock Runtime
  • DynamoDB
  • Lambda
  • SNS
  • SQS

Bedrock Runtime

This extension implements the GenAI semantic conventions for the following API calls:

  • Converse
  • ConverseStream
  • InvokeModel
  • InvokeModelWithResponseStream

For the Converse and ConverseStream APIs tracing, events and metrics are implemented.

For the InvokeModel and InvokeModelWithResponseStream APIs tracing, events and metrics implemented only for a subset of the available models, namely:

  • Amazon Titan models
  • Amazon Nova models
  • Anthropic Claude

Tool calls with InvokeModel and InvokeModelWithResponseStream APIs are supported with:

  • Amazon Nova models
  • Anthropic Claude 3+

If you don't have an application using Bedrock APIs yet, try our zero-code examples.

Installation

pip install opentelemetry-instrumentation-botocore

References