Update Sentry module and fix deps conflicts (see note)
Send environment (using SITE_ID) and release info to Sentry
Send profiling and traces to Sentry for performance analyzing
Add an app-scoped config var SENTRY_SAMPLE_RATE
Note:
This PR adds sentry-sdk[flask] as an install dependency. I'm not sure why it wasn't there before - let me know if this is a mistake!
So since sentry-sdk[flask] depends on urllib3 and urllib3 depends on requests which were incompatible with newer versions of sentry-sdk, both pinned versions of urllib3 and requests have been updated in this PR.
Closes https://github.com/datagouv/data.gouv.fr/issues/1389:
SITE_ID
) and release info to SentrySENTRY_SAMPLE_RATE
Note: This PR adds
sentry-sdk[flask]
as an install dependency. I'm not sure why it wasn't there before - let me know if this is a mistake! So sincesentry-sdk[flask]
depends onurllib3
andurllib3
depends onrequests
which were incompatible with newer versions ofsentry-sdk
, both pinned versions ofurllib3
andrequests
have been updated in this PR.