> ## Documentation Index
> Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Arize Phoenix

> Set up Arize Phoenix observability to trace, evaluate, and troubleshoot your agents.

Set up Arize Phoenix to trace agent execution and view performance data in your Phoenix dashboard.

> [!TIP]
>
> Before starting, complete the [quickstart guide](https://docs.idun-group.com/quickstart.md) to have an agent running on Idun Engine.

## Set up Phoenix observability

**1. Get your Phoenix details**

> [tab] Phoenix Cloud
>
> 1. Go to [Arize Phoenix](https://phoenix.arize.com)
> 2. Sign up or log in to your account
> 3. Create a new project or select an existing one
> 4. Note your **Project Name** and the **Collector Endpoint** (typically `https://collector.phoenix.com`)

> [tab] Self-hosted
>
> If you are hosting Phoenix yourself, have your collector endpoint URL ready. This is the URL where your Phoenix instance accepts trace data.

**2. Configure Phoenix in the standalone**

Open the running standalone at `/admin/observability/` and click **Phoenix**. Fill in:

* **Collector endpoint**: URL of the Phoenix collector (e.g., `https://collector.phoenix.com` or your self-hosted URL)
* **Project name**: The project in Phoenix to bucket these traces under

![Observability admin page with Phoenix selected](https://mintcdn.com/idunlabs/SjVPzIbyPaldjUKK/images/ui/admin-observability-phoenix.png?fit=max\&auto=format\&n=SjVPzIbyPaldjUKK\&q=85\&s=9903bc9b9cb9f539c13538f07a2212b3)

Save the form. The reload pipeline re-instantiates the engine with the new observability config; the next agent run starts streaming spans to Phoenix.

Alternatively, configure Phoenix in your `config.yaml` for first-boot seeding or engine-only mode:

```yaml config.yaml theme={"theme":{"light":"github-light","dark":"github-dark"}}
observability:
  - provider: "PHOENIX"
    enabled: true
    config:
      collector_endpoint: "https://collector.phoenix.com"
      project_name: "idun-agent"
```

## View observability data

Once your agent is running with observability enabled:

1. Interact with your agent through the chat UI at `/` or the API at `/agent/run`
2. Open your Phoenix dashboard
3. Navigate to your project to view traces

You will see traces showing agent execution flows, tool usage, and latency data.

## Best practices

* Use descriptive names for observability configurations
* Monitor latency using Phoenix's performance tools
* Check traces regularly to understand agent behavior

## Troubleshooting

> [!WARNING]
>
> ADK does not currently support simultaneous tracing with multiple providers.

> [accordion] Observability not working?
>
> 1. **Check collector endpoint**: Verify the URL is correct and accessible from the agent environment
> 2. **Verify project name**: Confirm it matches the project name in Phoenix exactly
> 3. **Check network**: Confirm your agent environment can reach the Phoenix collector

## Next steps

> [card] [Local trace store](https://docs.idun-group.com/observability/traces.md)
>
> See the same agent runs in the bundled admin UI without extra config.

> [card] [Observability overview](https://docs.idun-group.com/observability/overview.md)
>
> Compare built-in providers and their configuration shapes.

> [card] [Custom handler](https://docs.idun-group.com/observability/custom-handler.md)
>
> Wire a different OTel-compatible backend through Pattern B.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.