Overview
This guide shows you how to integrate Latitude Telemetry into an application that invokes models hosted on Amazon SageMaker throughboto3.
You’ll keep calling SageMaker exactly as you do today. Telemetry simply
observes and enriches those calls.
Auto-instrumentation for SageMaker is available in the Python SDK. For other
languages, send traces via the OpenTelemetry exporter.
Requirements
- A Latitude account and API key
- A Latitude project slug
- A project that uses boto3 with a deployed SageMaker endpoint
- AWS credentials (
AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_REGION) and aSAGEMAKER_ENDPOINT_NAME
Steps
Seeing Your Traces
Once connected, traces appear automatically in Latitude:- Open your project in the Latitude dashboard
- Each execution shows input/output messages, model, token usage, latency, and errors