Skip to main content

There are two endpoints that matter in Phoenix:

  1. Application Endpoint: The endpoint your Phoenix instance is running on
  2. OTEL Tracing Endpoint: The endpoint through which your Phoenix instance receives OpenTelemetry traces

Application Endpoint#

You choose this endpoint when you set up the app. For a local phoenix serve the default is http://localhost:6006. For a remote deployment, it’s available under the Hostname field of the Settings page.

To set this endpoint, use the PHOENIX_ENDPOINT environment variable. This is used by the Phoenix client package to query traces, log annotations, and retrieve prompts.

OTEL Tracing Endpoint#

You choose this endpoint when you set up the app. For a remote deployment, it’s available under the Hostname field of the Settings page. For a local phoenix serve the defaults are:

  • Using the GRPC protocol: http://localhost:4317
  • Using the HTTP protocol: http://localhost:6006/v1/traces

To set this endpoint, use the register(endpoint=YOUR ENDPOINT) function. This endpoint can also be set using environment variables. For more on the register function and other configuration options, see here.