Log to a specific project
Phoenix uses projects to group traces. If left unspecified, all traces are sent to a default project.- Using Phoenix Wrappers
- Using OTEL Directly
- Via HTTP Header
In the notebook, you can set the Alternatively, you can set the project name in your
PHOENIX_PROJECT_NAME environment variable before adding instrumentation or running any of your code.In python this would look like:register function call:x-project-name HTTP header can be used to override the project name for all spans in an OTLP HTTP request.
Switching projects in a notebook
Typically you want traces for an LLM app to all be grouped in one project. However, while working with Phoenix inside a notebook, we provide a utility to temporarily associate spans with different projects. You can use this to trace things like evaluations.- Notebook

