Skip to content

feat(seer-infra-telemetry): Add return URL to connect/reauth monitoring provider payloads#118702

Open
srest2021 wants to merge 24 commits into
masterfrom
srest2021/CW-1557
Open

feat(seer-infra-telemetry): Add return URL to connect/reauth monitoring provider payloads#118702
srest2021 wants to merge 24 commits into
masterfrom
srest2021/CW-1557

Conversation

@srest2021

@srest2021 srest2021 commented Jun 29, 2026

Copy link
Copy Markdown
Member

fixes CW-1557

Backend PR: #118704

On mid-run OAuth, set the return URL to the explorer run or, as a fallback, the advanced Seer settings page (where the monitoring provider settings currently live).

Screen.Recording.2026-07-01.at.2.28.39.PM.mov

srest2021 added 18 commits June 25, 2026 11:18
Relocate the Datadog PAT connect modal from getsentry into open-source
sentry/components/seer/ so it can be reused outside the billing-gated
Seer Automation settings page (e.g. the Seer Explorer reauth flow).

Pure relocation: the modal depends only on sentry/* and @sentry/scraps/*,
so it works anywhere the open-source monitoring-provider endpoints do.
The settings section (MonitoringProvidersSection) stays in getsentry and
now imports the modal from its new location.
@linear-code

linear-code Bot commented Jun 29, 2026

Copy link
Copy Markdown

CW-1557

@srest2021

Copy link
Copy Markdown
Member Author

@sentry review

@srest2021

Copy link
Copy Markdown
Member Author

@sentry review

@srest2021 srest2021 marked this pull request as ready for review July 1, 2026 22:37
@srest2021 srest2021 requested review from a team as code owners July 1, 2026 22:37
@srest2021 srest2021 requested a review from shashjar July 1, 2026 22:37

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

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 2 potential issues.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit 5b0897e. Configure here.

Comment thread static/app/views/seerExplorer/components/seerExplorerContent.tsx
Comment thread static/app/views/seerExplorer/utils.tsx
}
),
data: {
return_url: returnUrl ?? `/settings/${organization.slug}/seer/advanced/`,

@srest2021 srest2021 Jul 1, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

For now, monitoring providers live in Seer Advanced Settings. When we make a new page for them, we should update this

Comment thread static/app/views/seerExplorer/components/seerExplorerContent.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant