Skip to content

Conversation

@JPeer264
Copy link
Member

@JPeer264 JPeer264 commented Nov 21, 2025

Events which hold attributes such as organization.slug or mcp.* were not flushed correctly.

attributes: {
"mcp.tool.name": tool.name,
"mcp.server.name": MCP_SERVER_NAME,
"mcp.server.version": LIB_VERSION,
...extractMcpParameters(params || {}),
},

With this it will re-add these missing events, as it will wait with waitUntil that these events are flushed within the tool call.

Example of a tool call event

Screenshot 2025-11-21 at 11 03 16

@JPeer264 JPeer264 requested review from betegon and dcramer November 21, 2025 10:04
Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

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

Makes sense, I wonder tho why this/what changed compared to before

Copy link
Member

@betegon betegon left a comment

Choose a reason for hiding this comment

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

lgtm!

@JPeer264 JPeer264 merged commit bcb4c96 into main Nov 21, 2025
13 checks passed
@JPeer264 JPeer264 deleted the jp/fix-tool-calls branch November 21, 2025 11:15
@dcramer
Copy link
Member

dcramer commented Nov 21, 2025

Shouldn’t this be be resolved upstream in Sentry?

@JPeer264
Copy link
Member Author

Shouldn’t this be be resolved upstream in Sentry?

You're totally right. I'll see why this is actually needed.

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.

5 participants