Arize Phoenix
Sends traces to Phoenix Cloud or a self-hosted Phoenix server over OTLP.
Supported Telemetry Types
Linux
✓
Windows
✓
macOS
✓
Kubernetes Node
✓
Kubernetes Cluster
✓
Kubernetes Gateway
✓
OpenShift Node
✓
OpenShift Cluster
✓
OpenShift Gateway
✓
Prerequisites
For Phoenix Cloud: a space and an API key for it.
For a self-hosted server: a Phoenix server the collector can reach, plus an API key when the server has authentication enabled.
Configuration
Basic Configuration

The General tab changes with the Deployment choice. Phoenix Cloud needs only a Space ID and API key. Self-Hosted asks where the server is and how to reach it.
Deployment
Enum: Phoenix Cloud, Self-Hosted
No
Phoenix Cloud
Where Phoenix runs.
Space ID
String
Yes*
(empty)
The Phoenix Cloud space that receives the traces: the part of the space URL after /s/. For https://app.phoenix.arize.com/s/my-space, enter my-space. Shown for Phoenix Cloud.
Hostname
String
Yes*
(empty)
Hostname or IP address of the Phoenix server, with no scheme, port, or path. Shown for Self-Hosted.
Protocol
Enum: HTTP, gRPC
No
HTTP
The OTLP protocol. Shown for Self-Hosted, since Phoenix Cloud accepts HTTP only.
Port
Network Port
No
6006
The server's HTTP port. Shown for Self-Hosted with HTTP.
Port
Network Port
No
4317
The server's gRPC port. Shown for Self-Hosted with gRPC.
Path Prefix
String
No
(empty)
The path Phoenix is served under, when it sits behind a proxy at a sub-path (the server's PHOENIX_HOST_ROOT_PATH). Traces go to <prefix>/v1/traces. Shown for Self-Hosted with HTTP.
API Key
String
Yes*
(empty)
The Phoenix API key, sent as authorization: Bearer <key>. Required for Phoenix Cloud. Leave it blank for a self-hosted server without authentication. Sensitive value.
Project Name
String
No
(empty)
The Phoenix project the traces land in. Sets the openinference.project.name resource attribute. Leave blank to keep whatever project name the application already sets.
Override Existing Project Name
Boolean
No
false
Replace a project name the application already set. When off, the project name only fills in traces that lack one. Shown when Project Name is set.
* Space ID and API Key are required for Phoenix Cloud, and Hostname is required for Self-Hosted.
TLS
Shown for Self-Hosted. Phoenix Cloud always uses TLS.
Enable TLS
Boolean
No
false
Connect to the server over TLS. Turn this on when the server, or a proxy in front of it, serves HTTPS.
Skip TLS Certificate Verification
Boolean
No
false
Skip verification of the server's certificate. Shown when TLS is enabled. Not recommended.
TLS Certificate Authority File
String
No
(empty)
A CA file used to validate the server's certificate, such as an internal CA. Shown when TLS is enabled.
Mutual TLS
Boolean
No
false
Authenticate the collector to the server with a client certificate. Shown when TLS is enabled.
TLS Client Certificate File
String
Yes*
(empty)
Path to the client certificate. Shown when Mutual TLS is enabled.
TLS Client Private Key
String
Yes*
(empty)
Path to the client private key. Shown when Mutual TLS is enabled.
* Required only when Mutual TLS is enabled.
Supported Retry and Queuing Settings
These settings are on the Delivery tab.
Enable Batching
Boolean
No
true
Batch spans before sending.
Send Batch Size
Integer
Yes
512
Spans per batch that trigger a send, even before the timeout. Shown when batching is enabled.
Send Batch Max Size
Integer
Yes
512
The largest batch sent. Larger batches are split. Shown when batching is enabled.
Batch Timeout
Duration
Yes
5s
Time after which a batch is sent, even if it isn't full. Shown when batching is enabled.
Enable Retry on Failure
Boolean
No
true
Resend traces that failed to send.
Initial Interval (Seconds)
Integer
No
5
Seconds to wait after the first failure before retrying. Shown when retry is enabled.
Max Interval (Seconds)
Integer
No
30
Upper bound, in seconds, on retry backoff. Shown when retry is enabled.
Max Elapsed Time (Seconds)
Integer
No
300
Seconds spent retrying a batch before giving up. Shown when retry is enabled.
Enable Sending Queue
Boolean
No
true
Buffer traces in memory so a short network outage doesn't drop them.
Number of Consumers
Integer
No
10
Consumers that send batches from the queue. Shown when the sending queue is enabled.
Queue Size
Integer
No
1000
Batches kept in memory before new ones are dropped. Shown when the sending queue is enabled.
Enable Persistent Queuing
Boolean
No
true
Buffer traces on disk so they survive network outages and collector restarts. Shown when the sending queue is enabled.
Persistent Queue Storage
Extension
Yes
Pebble
The storage extension that holds the persistent queue. Shown when the sending queue and persistent queuing are enabled.
Advanced
Compression
Enum: none, gzip, deflate
No
gzip
Compression applied to each HTTP request. Shown for Phoenix Cloud and for Self-Hosted with HTTP.
Compression
Enum: none, gzip
No
gzip
Compression applied to each gRPC request. Shown for Self-Hosted with gRPC.
Timeout (Seconds)
Integer
No
30
Seconds to wait for each send to complete.
Additional Headers
Map
No
(empty)
Extra headers attached to each request. An authorization header here replaces the bearer token built from the API Key, for servers behind a proxy that expects its own credentials.
Examples
Self-hosted server over gRPC with mutual TLS

Set Deployment to Self-Hosted, Protocol to gRPC, and the gRPC port your server listens on, then fill in the TLS tab.
Self-hosted server behind a proxy at a sub-path

When Phoenix is served at https://tools.example.com/phoenix, set Hostname to tools.example.com, Port to 443, and Path Prefix to /phoenix, then enable TLS.
Configuration Tips
Batch Size
LLM spans carry prompts and completions, so they're much larger than typical spans. A Phoenix gRPC server rejects messages over 4 MB, so keep gRPC batches small. Prefer HTTP if you need larger batches.
Project Name
Project Name sets the
openinference.project.nameresource attribute, which Phoenix uses to pick the project a trace lands in.With Override Existing Project Name off, applications that set their own project name keep it, and the rest go to the project configured here.
Turn the override on to send everything from this pipeline to one project, whatever the application set.
Troubleshooting
Requests rejected as unauthorized
Symptoms: 401 Unauthorized in the collector logs.
Solutions:
For Phoenix Cloud, confirm the API key belongs to the space in Space ID.
For a self-hosted server with authentication enabled, confirm API Key is set.
Check Additional Headers for an
authorizationentry, which replaces the API key.
gRPC sends fail with a message size error
Symptoms: ResourceExhausted or "received message larger than max" in the collector logs.
Solutions:
Lower Send Batch Max Size.
Switch Protocol to HTTP.
Standalone Destination
Related Resources
Last updated
Was this helpful?