Haystack Tracing

Instrument LLM applications built with Haystack

Phoenix provides auto-instrumentation for Haystack

Launch Phoenix

Install

Setup

Use the register function to connect your application to Phoenix:

Run Haystack

Phoenix's auto-instrumentor collects any traces from Haystack Pipelines. If you are using Haystack but not using Pipelines, you won't see traces appearing in Phoenix automatically.

If you don't want to use Haystack pipelines but still want tracing in Phoenix, you can use instead of this auto-instrumentor.

From here, you can set up your Haystack app as normal:

Observe

Now that you have tracing setup, all invocations of pipelines will be streamed to your running Phoenix for observability and evaluation.

Resources:

Last updated

Was this helpful?