Skip to content

Conversation

@obostjancic
Copy link
Member

@obostjancic obostjancic commented Jan 27, 2026

@obostjancic obostjancic requested review from a team and priscilawebdev January 27, 2026 16:09
@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jan 27, 2026 4:19pm
1 Skipped Deployment
Project Deployment Review Updated (UTC)
develop-docs Ignored Ignored Jan 27, 2026 4:19pm

Request Review

@linear
Copy link

linear bot commented Jan 27, 2026

- All [Common Span Attributes](#common-span-attributes) should be set

The handoff span itself has no bodyit just marks the transition point before the target agent starts.
The handoff span itself has no bodyit just marks the transition point before the target agent starts.
Copy link
Member

Choose a reason for hiding this comment

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

Why together? As a non-native English speaker, I find it easier when they’re separate. Is putting them together the standard?

// your options here
recordInputs: true,
recordOutputs: true,
// See Options section for all available options
Copy link
Member

Choose a reason for hiding this comment

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

since we have only 2 options listed, do we want to have this comment? it might increase at some point, but 😅


## Configuration

Configure the Anthropic integration using the options below.
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

## Manual Instrumentation

If you're using a library that Sentry does not automatically instrument, you can manually instrument your code to capture spans. For your AI agents data to show up in Sentry [AI Agents Insights](https://sentry.io/orgredirect/organizations/:orgslug/insights/ai/agents/), spans must have well-defined names and data attributes.
If you're using a library without automatic instrumentation, you can manually instrument your code to capture spans. For your AI agents data to show up in Sentry [AI Agents Insights](https://sentry.io/orgredirect/organizations/:orgslug/insights/ai/agents/), spans must have well-defined names and data attributes.
Copy link
Member

Choose a reason for hiding this comment

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

I think I prefer the previous sentence because it explicitly says “Sentry does not automatically instrument.” Otherwise, it sounds like it has something to do with the library I chose. Does that make sense?

- `beta.messages.create()` - Beta messages API

Streaming and non-streaming requests are automatically detected and handled appropriately.
The integration automatically detects and handles both streaming and non-streaming requests.
Copy link
Member

@priscilawebdev priscilawebdev Jan 28, 2026

Choose a reason for hiding this comment

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

Do we need to explain what it handles?

#16047 (comment)

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.

3 participants