Observability
PrivateGPT can emit traces for every LLM call, embedding request, and retrieval step. Set observability.mode in settings.yaml or in a profile such as settings-local.yaml to choose a backend.
This feature requires to have the observability extra enabled in your application. If you are adding storage to an existing application, make sure to run the sync command after enabling the module:
Arize Phoenix
Arize Phoenix is an open-source observability platform for LLM applications. It visualises traces, spans, token counts, latency, and retrieval quality.
For installation instructions see the Phoenix docs.
Put this in your settings file or in a profile such as settings-local.yaml. If you need to create a new settings file or profile first, see Settings Files.
Traces are sent to <phoenix.url>/v1/traces via OpenTelemetry OTLP over HTTP.
Opik
Opik is an LLM observability platform by Comet. It can run fully self-hosted.
For installation instructions see the Opik docs.
Put this in your settings file or in a profile such as settings-local.yaml. If you need to create a new settings file or profile first, see Settings Files.

