counterdata-network / story-processor

Story discovery engine for the Counterdata Network. Grabs relevant stories from various APIs, runs them against bespoke classifier models, post results to a central server.
Apache License 2.0
0 stars 2 forks source link

feat(sentry_init): Reconfigure sentry initialization #74

Closed math4humanities closed 2 months ago

math4humanities commented 3 months ago

Reconfigure sentry initialization so periodic tasks can be monitored on Sentry

kept mostly the same logic, just changed initialization into a function, added related monitor options to init, and added celery signals decorators. Paired with branch feat/issue-61, everything related to celery should run smoothly.

rahulbot commented 3 months ago

(if the double-initialization isn't a problem go ahead with this)