Skip to content

feat(api): Add MCP referrer to search_events API calls - #1118

Merged
wmak merged 1 commit into
mainfrom
wmak/feat/search-events-referrer
Jun 22, 2026
Merged

feat(api): Add MCP referrer to search_events API calls#1118
wmak merged 1 commit into
mainfrom
wmak/feat/search-events-referrer

Conversation

@wmak

@wmak wmak commented Jun 22, 2026

Copy link
Copy Markdown
Member

Set referrer=api.mcp.search-events on Discover and EAP /events/ requests so Sentry can attribute search_events traffic.

Set referrer=api.mcp.search-events on Discover and EAP /events/ requests
so Sentry can attribute search_events traffic. The validate endpoint does
not accept referrer, so it is omitted there.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@dcramer

dcramer commented Jun 22, 2026

Copy link
Copy Markdown
Member

at some point we should figure out how to avoid doing this, since our customers wont do it for us, and we already have api application attribution capabililty on the backend

@wmak

wmak commented Jun 22, 2026

Copy link
Copy Markdown
Member Author

Makes sense, I'll revisit this later to see if i can improve it

@wmak
wmak merged commit e56d4e5 into main Jun 22, 2026
19 checks passed
@wmak
wmak deleted the wmak/feat/search-events-referrer branch June 22, 2026 17:48
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