AlexsLemonade / refinebio

Refine.bio harmonizes petabytes of publicly available biological data into ready-to-use datasets for cancer researchers and AI/ML scientists.
https://www.refine.bio/
Other
126 stars 19 forks source link

Sentry transport selection via DSN is deprecated #3421

Open arkid15r opened 8 months ago

arkid15r commented 8 months ago

Context

During the recent deploy I noticed a new warning in API container logs:

Problem or idea

Transport selection via DSN is deprecated. You should explicitly pass the transport class to Client() instead.

Python version: 3.8.5 (default, Sep 10 2020, 16:47:10)  [GCC 8.3.0]
Python main interpreter initialized at 0x5647f2c66120
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 60 seconds
mapped 1266480 bytes (1236 KB) for 16 cores
*** Operational MODE: preforking+threaded ***
/usr/local/lib/python3.8/site-packages/raven/conf/remote.py:91: UserWarning: Transport selection via DSN is deprecated. You should explicitly pass the transport class to Client() instead.
  warnings.warn('Transport selection via DSN is deprecated. You should explicitly pass the transport class to Client() instead.')
WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x5647f2c66120 pid: 9 (default app)
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 9)
spawned uWSGI worker 1 (pid: 11, cores: 2)
spawned uWSGI worker 2 (pid: 12, cores: 2)

Solution or next step

Figure out migration steps, update configuration according to the new standards.