-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add Sentry logs to all backend components #540
Comments
@braddf I've put this here, as other people might be able to contribute to this |
Ive tested the above code in the india-forecast-app, so it can be rolled out to other repos now |
hello, can I be assigned to this issue? |
@peterdudfield can I have more info about the sentry_sdk version repos need? |
what do you mean version? https://github.com/openclimatefix/india-forecast-app/pull/75/files this is a good example of what would be great to do to the other repos |
for GSPConumer - openclimatefix/GSPConsumer#76 |
Here's a good example - openclimatefix/uk-pvnet-app#125 |
A nice simple way to do this is (this should be put in the main app)
|
Currently deployed on uk-pvnet-app on development, but errors not showing up in sentry. Weird |
Detailed Description
It would be great to have sentry logs in all back end components
Context
Possible Implementation
SImilar to the api
https://github.com/openclimatefix/pv-site-api/blob/main/pv_site_api/main.py#L89C1-L93C2
this bit of code needs to sit at the start of the main app, and
sentry_sdk
be added to the requirements fileThe text was updated successfully, but these errors were encountered: