Skip to main content
AWS Bedrock

Installation

Install the Netra SDK along with the AWS SDK for Bedrock:

Usage

Netra SDK automatically instruments AWS Bedrock calls when you enable the botocore instrumentation. This captures traces for all Bedrock API calls including model invocations, streaming responses, and embeddings.

Basic Setup

Initialize Netra with Bedrock instrumentation enabled:

Model Invocation

The SDK automatically captures model invocations with full request and response details:

Streaming Responses

Bedrock streaming responses are automatically traced with full visibility:

Session Tracking

Track user sessions and conversations with Bedrock models:

Next Steps

Last modified on March 17, 2026