Skip to content

feat(dashboards): adds dashboards generate endpoint#110254

Merged
edwardgou-sentry merged 9 commits intomasterfrom
egou/feat/seer-generate-dashboard-endpoint
Mar 11, 2026
Merged

feat(dashboards): adds dashboards generate endpoint#110254
edwardgou-sentry merged 9 commits intomasterfrom
egou/feat/seer-generate-dashboard-endpoint

Conversation

@edwardgou-sentry
Copy link
Copy Markdown
Contributor

@edwardgou-sentry edwardgou-sentry commented Mar 9, 2026

  • Adds a new GeneratedDashboard artifact, for building dashboard and widget payloads via Seer
  • Adds a new dashboards/generate/ endpoint that start a new seer run using the new GeneratedDashboard artifact
  • Only for internal testing at the moment

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 9, 2026
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 9, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 9, 2026

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

…om:getsentry/sentry into egou/feat/seer-generate-dashboard-endpoint
@edwardgou-sentry edwardgou-sentry requested a review from a team March 10, 2026 16:00
@edwardgou-sentry edwardgou-sentry marked this pull request as ready for review March 10, 2026 16:00
@edwardgou-sentry edwardgou-sentry requested a review from a team as a code owner March 10, 2026 16:00
):
return Response({"detail": "Feature not enabled"}, status=403)

has_access, error = has_seer_access_with_detail(organization, request.user)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

are we constraining this to only users with seer billing?

Copy link
Copy Markdown
Contributor Author

@edwardgou-sentry edwardgou-sentry Mar 10, 2026

Choose a reason for hiding this comment

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

This endpoint/feature will only be for internal testing to validate the artifacts we're building. It won't be released to any customers.

Our end goal is to have our Dashboard artifacts be integrated into Seer Explorer, we're just waiting for the platform changes to support that use case a bit better so that we can inject our artifact in some way. Once we reach that state, I believe the plan may be to allow Dashboard creation via Seer without needing billing. We're still figuring out this experience though.

Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 3 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@edwardgou-sentry
Copy link
Copy Markdown
Contributor Author

drafting to fix a few things

@edwardgou-sentry edwardgou-sentry marked this pull request as ready for review March 10, 2026 18:27
Copy link
Copy Markdown
Contributor

@DominikB2014 DominikB2014 left a comment

Choose a reason for hiding this comment

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

Lgtm! although there might be some opportunity to share code/types with the serializer/dashboard backend, artifact, etc

@edwardgou-sentry edwardgou-sentry merged commit a1be98b into master Mar 11, 2026
54 checks passed
@edwardgou-sentry edwardgou-sentry deleted the egou/feat/seer-generate-dashboard-endpoint branch March 11, 2026 14:13
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants