Skip to content

feat(seer-infra-telemetry): Add PUT reauthenticate to monitoring provider endpoint#118577

Merged
srest2021 merged 4 commits into
masterfrom
srest2021/monitoring-provider-reauth-put
Jun 26, 2026
Merged

feat(seer-infra-telemetry): Add PUT reauthenticate to monitoring provider endpoint#118577
srest2021 merged 4 commits into
masterfrom
srest2021/monitoring-provider-reauth-put

Conversation

@srest2021

@srest2021 srest2021 commented Jun 26, 2026

Copy link
Copy Markdown
Member

Adds PUT to the monitoring provider details endpoint to re-authenticate an existing connection. Looks up the user's existing connection for the provider and reuses its stored site.

Why: the Seer Explorer can pause mid-run when a monitoring provider requires reauth (refresh token or PAT expired). For providers like Datadog that require site selection, the backend reuses the existing site stored in the identity, and user doesn't need to pick a site from the dropdown. Followup: #118592

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 26, 2026
@srest2021 srest2021 marked this pull request as ready for review June 26, 2026 19:52
@srest2021 srest2021 requested review from a team as code owners June 26, 2026 19:52
@srest2021 srest2021 requested review from shashjar and wedamija June 26, 2026 19:58
@srest2021 srest2021 merged commit a074979 into master Jun 26, 2026
64 checks passed
@srest2021 srest2021 deleted the srest2021/monitoring-provider-reauth-put branch June 26, 2026 21:15
srest2021 added a commit that referenced this pull request Jun 29, 2026
…lorer (#118592)

Fixes CW-1546

Depends on #118577,
getsentry/seer#7133,
#118616

Render a reconnect block, reauthenticate, and resume the Explorer run
when a connected monitoring provider's refresh fails mid-run.

Datadog PAT reconnects in-place via the modal and auto-resumes the run.
OAuth providers do a full-window redirect and (for now) need the
explicit Resume button on return, a stopgap until
[CW-1557](https://linear.app/getsentry/issue/CW-1557/handle-redirect-on-oauth-completion)
redirects back into the Explorer and resumes automatically.

Expired at the beginning of the run:


https://github.com/user-attachments/assets/c66e8c64-0609-4194-ac52-c9ed2553971d

Expired in the middle of the run: 


https://github.com/user-attachments/assets/90a5784e-2b49-4ef3-af54-3abf9e27bf9e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants