Skip to Content
Launching the open-source gateway

Arize (tracing)

Arize  is a platform for AI observability and evaluation. This page covers tracing Arize SDK calls with respan-instrumentation-arize.

Set up Respan

Create an account at platform.respan.ai  and grab an API key .

Paste this into your coding agent:

Help me set up Respan tracing with the Arize integration. Follow https://www.respan.ai/docs/integrations/arize.md

Setup

Install packages

Terminal
pip install respan-ai respan-instrumentation-arize arize

Set environment variables

Terminal
export RESPAN_API_KEY="YOUR_RESPAN_API_KEY"

Initialize Respan and run

Python
import os from arize import ArizeClient from respan import Respan from respan_instrumentation_arize import ArizeInstrumentor respan = Respan( api_key=os.environ["RESPAN_API_KEY"], app_name="arize-tracing", instrumentations=[ArizeInstrumentor()], ) client = ArizeClient(api_key="...") print(client.datasets.list(space="respan-demo")) respan.shutdown()

View your trace

Open the Traces page  to inspect Arize request spans with metadata, timing, and any captured request/response content.

Configuration

ParameterTypeDefaultDescription
api_keystr | NoneNoneUses RESPAN_API_KEY when not passed.
base_urlstr | NoneNoneUses RESPAN_BASE_URL when not passed.
app_namestr | NoneNoneService name for exported spans.
instrumentationslist[]Add ArizeInstrumentor() to activate Arize tracing.