dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 41 forks source link

Log more Errors/Warnings/Transactions to Sentry #429

Open ZibanPirate opened 2 years ago

ZibanPirate commented 2 years ago

Description

Need to catch more insights on errors/warnings/performance, the default Sentry integration is not enough

Check List

  1. [ ] Capture errors in ./api middleware
  2. [ ] Alert when Github API quota is near the limit.
  3. [x] Capture endpoint failures in ./web
  4. [x] Capture endpoint failures in ./mobile
  5. [ ] Alert for when we receive a redirect response from Github API.
  6. [ ] Log Transactions for all endpoints ./api.
  7. [ ] Log Transactions for all endpoints ./mobile.
  8. [ ] Log Transactions for all endpoints ./web.
  9. [x] attach error boundaries to Sentry in ./web
  10. [ ] Track React Rendering performence with Sentry Component Profiler in ./web
  11. [x] attach error boundaries to Sentry in ./mobile
  12. [ ] Track React Rendering performence with Sentry Component Profiler in ./mobile

Additional Comments

We should do this after #428 is done