You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor: Move telemetry reports to the telemetry app - #9015
No actionable comments were generated in the recent review.
Walkthrough
Usage snapshot generation and control-plane reporting moved from organisations to telemetry. Snapshots cover the 24-hour period ending at the current hour and include usage totals, category breakdowns, organisation details and ranked project usage. A recurring task submits snapshots every 24 hours through a telemetry control-plane client. Tests and the event catalogue were updated for the telemetry reporting flow.
This refactor moves usage reporting into the telemetry module and changes the schedule from hourly to a 24-hour window. The reporting task is registered at worker startup, and no new merge-blocking risk was found.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.93%. Comparing base (e9acd24) to head (e11ae2a). ⚠️ Report is 62 commits behind head on main.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.
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
apiIssue related to the REST APIdocsDocumentation updatesrefactor
2 participants
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.
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Moves the code that pushes organisation usage out of the
organisationsmodule into thetelemetrymodule, where it should be.It also simplifies the testing while still reaching 100% coverage.
Contributes to ENG-652
How did you test this code?
Added unit tests