Closed Ren22 closed 1 month ago
The pull request introduces the Sentry SDK into multiple services, including admin_service
, auth_service
, bigdata_service
, and films_service
. Each service's requirements.txt
file is updated to include the sentry-sdk
version 2.14.0
, while the respective main application files are modified to initialize Sentry with a Data Source Name (DSN) and set sampling rates for traces and profiles. This integration aims to enhance error tracking and performance monitoring across the services.
File(s) | Change Summary |
---|---|
admin_service/app/example/settings.py , auth_service/src/main.py , bigdata_service/src/main.py , films_service/src/main.py |
Added initialization of the Sentry SDK with DSN and sampling rates (1.0) in respective main files. |
admin_service/app/requirements.txt , auth_service/requirements.txt , bigdata_service/requirements.txt , films_service/requirements.txt |
Updated to include sentry-sdk==2.14.0 in the requirements files for each service. |
sequenceDiagram
participant User
participant Service
participant Sentry
User->>Service: Start application
Service->>Sentry: Initialize with DSN and sampling rates
Service->>User: Application running
Service->>Sentry: Track errors and performance
🐇 In the land of code where bunnies hop,
Sentry's here, we won't stop!
With errors tracked and metrics bright,
Our services soar, what a delight!
Hopping high, we celebrate,
Monitoring's fun, oh, isn't it great? 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
sentry-sdk==2.14.0
in various services.Bug Fixes
Documentation
Chores
requirements.txt
files to include the new Sentry dependency in all relevant services.