Skip to content

ref(mcp): Use events-timeseries for search_events time series - #1431

Merged
edwardgou-sentry merged 4 commits into
mainfrom
edward/ref/mcp-events-timeseries
Oct 7, 2026
Merged

edwardgou-sentry merged 4 commits into
mainfrom
edward/ref/mcp-events-timeseries

Conversation

@edwardgou-sentry

@edwardgou-sentry edwardgou-sentry commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Switches getEventsTimeSeries from /events-stats/ to /events-timeseries/ and updates the response schema and formatter for the new shape. Output is unchanged for users.

Requires Sentry 25.4.0+ on self-hosted. Incomplete-bucket and ingestion-delay output follows in #1441.

Switches getEventsTimeSeries from events-stats to events-timeseries so the
tool can mark incomplete buckets and report measured ingestion delay.
@edwardgou-sentry
edwardgou-sentry requested a review from a team October 7, 2026 19:29
@edwardgou-sentry
edwardgou-sentry marked this pull request as ready for review October 7, 2026 19:29
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Oct 7, 2026

@adrianviquez adrianviquez left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Lgtm, though what is the context to change it from stats to timeseries?

@edwardgou-sentry

edwardgou-sentry commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor Author

@adrianviquez bunch of new meta we've added including ingestion delay stuff only exists in events-timeseries not in events-stats, so this is another surface that we need to migrate over. I believe the annotation stuff also exists in events-timeseries but sounds like we've moved that over to its own endpoint

Also I think the end goal is to eventually deprecate events-stats so this gets us closer to that

@edwardgou-sentry
edwardgou-sentry merged commit 52fa739 into main Oct 7, 2026
31 checks passed
@edwardgou-sentry
edwardgou-sentry deleted the edward/ref/mcp-events-timeseries branch October 7, 2026 19:49

This branch was successfully deployed

1 active deployment
Actions — 0d59ef53 Deployed Oct 7, 2026 by edwardgou-sentry via eval #1266
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants