Skip to main content

respan-instrumentation-pipecat

Respan instrumentation plugin for Pipecat. Wraps OpenInference's upstream Pipecat instrumentor and translates Pipecat spans locally into the Respan tracing shape automatically.

Configuration

1. Install

pip install respan-instrumentation-pipecat

2. Set Environment Variables

Variable Required Description
RESPAN_API_KEY Yes Your Respan API key. Authenticates both proxy and tracing.
RESPAN_BASE_URL No Defaults to https://api.respan.ai/api.

Quickstart

import os

from respan import Respan
from respan_instrumentation_pipecat import PipecatInstrumentor

respan = Respan(
    api_key=os.environ["RESPAN_API_KEY"],
    base_url=os.getenv("RESPAN_BASE_URL", "https://api.respan.ai/api"),
    instrumentations=[PipecatInstrumentor()],
)

# Create PipelineTask instances after Respan activates the instrumentor.
# Pipecat pipeline, LLM, STT, TTS, and tool spans are captured automatically.

respan.flush()

Further Reading

See the Respan example projects for runnable scripts.

Metadata

Release files for respan-instrumentation-pipecat 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for respan-instrumentation-pipecat 0.1.1
File Size Uploaded
respan_instrumentation_pipecat-0.1.1.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for respan-instrumentation-pipecat 0.1.1
File Interpreter ABI Platform
respan_instrumentation_pipecat-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 26.9 kB

Release files / respan_instrumentation_pipecat-0.1.1.tar.gz

Download URL respan_instrumentation_pipecat-0.1.1.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4ca73fcc4c4c1f199f595b7c036d321cb3d54a7dbdf34f61375a57ae1e203514
BLAKE2b-256 checksum
How to use checksums
1e5ae32c50e8287c07286284b2db9cc50de17c0ac52dcb4d0961f19187371ae8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / respan_instrumentation_pipecat-0.1.1-py3-none-any.whl

Download URL respan_instrumentation_pipecat-0.1.1-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4ea4c929a146753cd22ed708644bc84e5c5212900b6858edac56139d73aaaa8
BLAKE2b-256 checksum
How to use checksums
619f01c244594b742941c05fcf723e60463dd95b4f58e09119b60b21e5a9de1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page