-
Notifications
You must be signed in to change notification settings - Fork 4
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
Sentry ADR #3206
Sentry ADR #3206
Conversation
…whole queryset into memory
- Added extra console logging - changed log level on frequent exception
- Add tests
- Update all files done logic - Add new test for sequential execution
…ch/TANF-app into 3170-reparse-memory-mgmt
- change order
- Update test to create fields with correct type
…ch/TANF-app into 3170-reparse-memory-mgmt
- add tests for meta model methods
…nstead aggregate errors and log a warning message for the user.
…ch/TANF-app into 3170-reparse-memory-mgmt
- Give Prod at least 500GB
Reparse Memory Management
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## doc/3199-monitoring-adr #3206 +/- ##
===========================================================
+ Coverage 91.40% 92.66% +1.25%
===========================================================
Files 289 47 -242
Lines 7997 1009 -6988
Branches 746 169 -577
===========================================================
- Hits 7310 935 -6375
+ Misses 581 42 -539
+ Partials 106 32 -74
Flags with carried forward coverage won't be shown. Click here to find out more. see 242 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
* first steps on ADR * First pass on monitoring ADR * Sentry ADR (#3206) * - Updated method to batch delete records in elastic to avoid pulling whole queryset into memory * - Instantiate document once * - Updated clean and reparse to not load entire queryset into memory - Added extra console logging - changed log level on frequent exception * - Update names of functions - Add tests * - Update sequential function to return boolean to allow testing - Update all files done logic - Add new test for sequential execution * - new indices * - linting * - Added tests for most exception paths * -linting * - Adding refresh * - testing not duplicating container * - revert test change - change order * - remove param * - Add missing tests * - adding test * - Add remaining tests * - Add more debug logging * - running only failing test * - more debugging * - backend only * - remove test_reparse only * - Reset settings after parsing * - update file * - Update factories to use the correct types for fields - Update test to create fields with correct type * - paremetrize test * - revert debugging changes * - Add tests for more coverage * - linting * - UPdate logic for setting reparse to finished - add tests for meta model methods * - linting * - add basic tests for db backup * - remove mock * - add main routine test for backup * - linting * - Added comment for posterity * - Update reparse to not fail/exit when elastic throws index update. instead aggregate errors and log a warning message for the user. * - update terraform for testing * - Update terraform based on cloud.gov response - Give Prod at least 500GB * Sentry ADR --------- Co-authored-by: Eric Lipe <[email protected]> Co-authored-by: Eric Lipe <[email protected]> Co-authored-by: Alex P. <[email protected]> * Incorporating Sentry, split into two buckets. * Updated boundary diagram * New env diagram * Verbiage update to markdown * Latest diagram revision * Apply suggestions from code review Co-authored-by: Alex P. <[email protected]> * - small grammar and wording changes * Update docs/Technical-Documentation/Architecture-Decision-Record/022-app-monitoring.md Co-authored-by: Alex P. <[email protected]> * Updated diagram for better repr around ATO boundary --------- Co-authored-by: andrew-jameson <[email protected]> Co-authored-by: raftmsohani <[email protected]> Co-authored-by: Eric Lipe <[email protected]> Co-authored-by: Eric Lipe <[email protected]> Co-authored-by: Alex P. <[email protected]>
Summary of Changes
Provide a brief summary of changes
Pull request closes #_
How to Test
List the steps to test the PR
These steps are generic, please adjust as necessary.
Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
lfrohlich
and/oradpennington
confirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Report
comment in PR)CodeCov Report
comment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjolly
andttran-hub
using Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):