You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to get traces of the celery tasks and I'm using a celery beat process to schedule the tasks but I can't receive anything if the task is executed from beat.
Example code: tasks.py
fromceleryimportCeleryfromopentracing_instrumentation.client_hooksimportceleryascelery_hooks# from custom_celery import CeleryTracingfromtracerimportinit_tracerimportperiodictracer=init_tracer('test')
celery_hooks.install_patches()
app=Celery('tasks', broker='redis://localhost:6379/0')
and then, you have to execute the worker and the beat with the following commands: celery -A tasks worker --loglevel=info celery -A beat beat --loglevel=info
The text was updated successfully, but these errors were encountered:
Hello, I'm trying to get traces of the celery tasks and I'm using a celery beat process to schedule the tasks but I can't receive anything if the task is executed from beat.
Example code:
tasks.py
periodic.py
beat.py
tracer.py
and then, you have to execute the worker and the beat with the following commands:
celery -A tasks worker --loglevel=info
celery -A beat beat --loglevel=info
The text was updated successfully, but these errors were encountered: