Skip to content

feat(tracing): AI Agents templates for @trace decorator #4676

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

Merged
merged 83 commits into from
Aug 13, 2025

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Aug 6, 2025

Adding a template parameter to the @trace decorator to make it easier to manually create spans for insights modules. Currently there are three templates supported ai_agent, ai_tool, and ai_chat.

@antonpirker antonpirker changed the title AI Agents templates for @trace decorator feat(agents): AI Agents templates for @trace decorator Aug 6, 2025
Base automatically changed from antonpirker/manual-instrumentation to master August 7, 2025 08:20
@antonpirker antonpirker changed the title feat(agents): AI Agents templates for @trace decorator feat(tracing): AI Agents templates for @trace decorator Aug 11, 2025
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are looking much better, also thanks for the dedup.

There's still some places where it'd be good to dedup, see comments

cursor[bot]

This comment was marked as outdated.

@antonpirker antonpirker enabled auto-merge (squash) August 13, 2025 10:54
@antonpirker antonpirker merged commit 1804955 into master Aug 13, 2025
138 of 139 checks passed
@antonpirker antonpirker deleted the manual-instrumentation2 branch August 13, 2025 11:04
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

Successfully merging this pull request may close these issues.

2 participants