Skip to main content

Overview

This guide shows you how to integrate Latitude Telemetry into an application that uses IBM watsonx.ai (ibm-watsonx-ai).
You’ll keep calling watsonx.ai exactly as you do today. Telemetry simply observes and enriches those calls.
Auto-instrumentation for watsonx.ai 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 the watsonx.ai SDK (ibm-watsonx-ai)
  • watsonx credentials: WATSONX_API_KEY, WATSONX_PROJECT_ID, and WATSONX_URL

Steps

1

Install

2

Initialize and use


Seeing Your Traces

Once connected, traces appear automatically in Latitude:
  1. Open your project in the Latitude dashboard
  2. Each execution shows input/output messages, model, token usage, latency, and errors