{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring"}],"enrichment":{"capability":"Adds distributed tracing to Haystack LLM applications by instrumenting them with OpenTelemetry, capturing prompts, completions, and embeddings as span attributes for visibility and debugging.","skillfed_tags":["observability","llm-tracing","haystack"],"use_cases":["Debug LLM application behavior by inspecting prompts, completions, and intermediate embeddings in distributed traces","Monitor production Haystack pipelines by sending traces to a backend for centralized observability","Evaluate LLM output quality by analyzing trace data to correlate inputs with outputs across your application","Reduce trace storage costs by disabling content logging while preserving structural tracing information","Correlate LLM operations with other services in a microservices architecture using OpenTelemetry's standard trace context"],"what_it_does":"This package integrates OpenTelemetry tracing into Haystack-based LLM applications, automatically capturing the flow of data through your pipeline. It instruments Haystack components to emit spans that record prompts, completions, and embeddings, giving you visibility into how your LLM application behaves at runtime.\n\nBy default, the instrumentation logs the actual content of prompts and responses to span attributes, which helps with debugging and quality evaluation but may expose sensitive user data. You can disable content logging by setting the TRACELOOP_TRACE_CONTENT environment variable to false, reducing both privacy risk and trace size. The instrumentation is activated with a single call to HaystackInstrumentor().instrument() after importing.","worth_installing":"Yes, if you are building or operating Haystack LLM applications and need observability. The low install friction, active maintenance, and permissive license make it a straightforward addition. Be aware that content logging is on by default\u2014set TRACELOOP_TRACE_CONTENT=false in production if your prompts or completions contain sensitive data."},"id":"opentelemetry-instrumentation-haystack","links":{"html":"https://skillfed.io/packages/opentelemetry-instrumentation-haystack","md":"https://skillfed.io/packages/opentelemetry-instrumentation-haystack.md","pypi":"https://pypi.org/project/opentelemetry-instrumentation-haystack/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-10","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"opentelemetry-instrumentation-haystack","python_support":"supports_current","summary":"OpenTelemetry Haystack instrumentation"},"popularity":{"monthly_downloads":8096588,"position":1665,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.62.3"}
