traceloop / traceloop/openllmetry

🚀 Feature: PydanticAI Framework

Open
#2,786 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.4k
Forks
1.1k
Avg merge
8d 14h
Merged PRs (30d)
2

Description

Which component is this feature for?

All Packages

🔖 Feature description

Enable the PydanticAI framework for tracing. They have their own tracing called logfire using OTel, but I'm not seeing any support for Traceloop or Dyntrace (who uses Traceloop)

https://ai.pydantic.dev/

🎤 Why is this feature needed ?

We are investigating building our agentic framework over in PyDanticAI due to the typesafety and more agnostic LLM it brings over other frameworks. However, we need to have tracing we are used to. This would be a big win for our team if the Traceloop was willing to bring PydanticAI instrumentation.

✌️ How do you aim to achieve this?

I'd love to have the community bring in instrumentation for this.

🔄️ Additional Information

Now, I realize that it should still pick up the base calls to GenAI SDK and Pinecone, but it would be great to get the trace throughout.

👀 Have you spent some time to check if this feature request has been raised before?
  • I checked and didn't find similar issue
Are you willing to submit PR?

None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PydanticAI documentation at https://ai.pydantic.dev/ and review how existing tracing covers the base GenAI SDK and Pinecone calls. Define the instrumentation entry points and verify that traces cover the full PydanticAI workflow, not only its underlying calls.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.