#Can i view all celery tasks on sentry?
5 messages · Page 1 of 1 (latest)
here is my python code:
@signals.celeryd_init.connect
def init_sentry(**_kwargs):
sentry_sdk.init(
dsn="",
# Set traces_sample_rate to 1.0 to capture 100%
# of transactions for tracing.
traces_sample_rate=1.0,
integrations=[CeleryIntegration(monitor_beat_tasks=True)],
# Set profiles_sample_rate to 1.0 to profile 100%
# of sampled transactions.
# We recommend adjusting this value in production.
profiles_sample_rate=1.0,
environment="local.dev.grace",
release="v1.0",
)
You need to setup Cron monitors for this use case: https://docs.sentry.io/product/crons/
i added a decorator like this: @monitor(monitor_slug='python-celery')
is there any other setup that is required?