An open API service indexing awesome lists of open source software.

https://github.com/langchain-samples/bedrock-otel-tracing-guide

Guide for tracing AWS Bedrock models and agents
https://github.com/langchain-samples/bedrock-otel-tracing-guide

aws intermediate langsmith observability

Last synced: 14 days ago
JSON representation

Guide for tracing AWS Bedrock models and agents

Awesome Lists containing this project

README

          

# Tracing for AWS Bedrock

This project demonstrates how to instrument and trace `invoke_model` and `invoke_agent` calls in Amazon Bedrock to LangSmith, enabling you to monitor model & agent performance, latency, and token usage.

---

# 🛠 Setup

1. Clone the repo

```shell
git clone https://github.com/catherine-langchain/bedrock-tracing-guide.git
cd bedrock-tracing-guide
```

2. Create and edit `.env` file in the root directory:
```shell
# Copy the .env.example file to .env
cp .env.example .env
```