-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(uptime): Add organization uptime summary endpoint #96710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
evanpurkhiser
merged 1 commit into
master
from
evanpurkhiser/feat-uptime-add-organization-uptime-percentiles-endpoint
Jul 30, 2025
Merged
feat(uptime): Add organization uptime summary endpoint #96710
evanpurkhiser
merged 1 commit into
master
from
evanpurkhiser/feat-uptime-add-organization-uptime-percentiles-endpoint
Jul 30, 2025
+857
−46
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #96710 +/- ##
========================================
Coverage 80.64% 80.64%
========================================
Files 8471 8474 +3
Lines 373148 373275 +127
Branches 24208 24208
========================================
+ Hits 300918 301039 +121
- Misses 71895 71901 +6
Partials 335 335 |
- Add OrganizationUptimePercentlesEndpoint for calculating uptime statistics. There might be a better name for this, but we already have `uptime-stats` and `uptime-counts`. - Extract common utility function for subscription ID authorization and mapping - Add UptimePercentileStats model and serializer for percentile calculations - Support both EAP results and legacy uptime checks
86709e7
to
3a10fcc
Compare
JoshFerge
approved these changes
Jul 30, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks reasonable to me.
andrewshie-sentry
pushed a commit
that referenced
this pull request
Aug 4, 2025
- Add `OrganizationUptimeSummaryEndpoint` for returning some statistics about the uptime monitors. Right now it returns counts we can use to calculate uptime percentages. - Extract common utility function for subscription ID authorization and mapping - Support both EAP Item results and the legacy EAP checks table
Suspect IssuesThis pull request was deployed and Sentry observed the following issues: Did you find this useful? React with a 👍 or 👎 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add
OrganizationUptimeSummaryEndpoint
for returning some statistics about the uptime monitors. Right now it returns counts we can use to calculate uptime percentages.Extract common utility function for subscription ID authorization and mapping
Support both EAP Item results and the legacy EAP checks table