Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add opentelemetry instrumentation for tracing #1456

Open
marcklingen opened this issue Mar 26, 2025 · 2 comments
Open

feat: add opentelemetry instrumentation for tracing #1456

marcklingen opened this issue Mar 26, 2025 · 2 comments

Comments

@marcklingen
Copy link

marcklingen commented Mar 26, 2025

Context

I'm one of the maintainers of github.com/langfuse/langfuse. pipecat is growing in popularity and I've gotten multiple requests by community members who'd like to get traces of their pipecat applications in order to evaluate them.

There's an open PR that adds langfuse tracing using the Langfuse Python SDK: #847

There's another PR that adds Coval: #1187

Suggestion

I'd suggest to follow the example of the AI SDK (docs) by adding native Opentelemetry-based instrumentation to pipecat. Thereby, the implementation is vendor-agnostic and teams can use an LLM-specific backend like Langfuse (tracing, evals, prompt management) or their traditional observability platforms (Grafana, Datadog, ...).

Potential addition next to traces: Exporting metrics (pipecat docs) via OpenTelemetry would allow teams to easily track them within their observability stack.

Resources

@marcklingen
Copy link
Author

@markbackman let me know in case you are interested to chat, happy to help explore this

@marcklingen marcklingen changed the title feat: add native opentelemetry instrumentation feat: add opentelemetry instrumentation for tracing Mar 26, 2025
@pesterhazy
Copy link

We'd love to see this as well, given that OTel is the industry standard. It would allow us to forward telemetry to any provider, including LangFuse, BetterStack, HoneyComb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants