Skip to content

Conversation

evanpurkhiser
Copy link
Member

We don't need this anymore to link back to the uptime monitor, we'll be
using the detector ID, which is part of the occurrence evidence data.

Should not merge until after we've cut-over the UI to only using
detector IDs.

We don't need this anymore to link back to the uptime monitor, we'll be
using the detector ID, which is part of the occurrence evidence data.
@evanpurkhiser evanpurkhiser requested a review from a team as a code owner August 28, 2025 21:45
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 28, 2025
@@ -131,19 +131,12 @@ def build_event_data(result: CheckResult, detector: Detector) -> EventData:
# Received time is the actual time the check was performed.
received = datetime.fromtimestamp(result["actual_check_time_ms"] / 1000)

# XXX(epurkhiser): This can be changed over to using the detector ID in the
# future once we're no longer using the ProjectUptimeSubscription.id as a tag.
project_subscription = get_project_subscription(detector)
Copy link
Member Author

Choose a reason for hiding this comment

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

There's a way to query for detector's in issues using search now. So we don't even need to store it as a tag.

@evanpurkhiser evanpurkhiser merged commit c011b27 into master Sep 4, 2025
65 checks passed
@evanpurkhiser evanpurkhiser deleted the evanpurkhiser/ref-uptime-stop-writing-uptime-rule branch September 4, 2025 14:41
armenzg pushed a commit that referenced this pull request Sep 5, 2025
We don't need this anymore to link back to the uptime monitor, we'll be
using the detector ID, which is part of the occurrence evidence data.

Should not merge until after we've cut-over the UI to only using
detector IDs.
andrewshie-sentry pushed a commit that referenced this pull request Sep 9, 2025
We don't need this anymore to link back to the uptime monitor, we'll be
using the detector ID, which is part of the occurrence evidence data.

Should not merge until after we've cut-over the UI to only using
detector IDs.
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