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
I have a basic django application which uses celery to call a method using apply_async and delay functions. I am trying to integrate Otel into my django application. I am using 0.10b0 version of all Otel libraries. I have used celery-auto instrumentation for produce the spans/traces. But I see that the celery-auto instrumentation isnt working.
Steps to reproduce
I have attached my code in order to reproduce the issue.
Run the python application using python manage.py runserver
Then also start the celery worker using
celery -A django_email_celery worker --loglevel=info
What is the expected behavior?
Once you hit the localhost url, I see the trace and spans created by the Otel. But I was expecting the traceid to continue from method index() in views.py to send_log in tasks.py.
What is the actual behavior?
But then the a new trace is being created at the send_log.
Other Info
I have added celery instrumentation in celery.py file
I have a basic django application which uses celery to call a method using apply_async and delay functions. I am trying to integrate Otel into my django application. I am using 0.10b0 version of all Otel libraries. I have used celery-auto instrumentation for produce the spans/traces. But I see that the celery-auto instrumentation isnt working.
Steps to reproduce
I have attached my code in order to reproduce the issue.
python manage.py runserver
celery -A django_email_celery worker --loglevel=info
What is the expected behavior?
Once you hit the
localhost
url, I see the trace and spans created by the Otel. But I was expecting thetraceid
to continue from methodindex()
inviews.py
tosend_log
intasks.py
.What is the actual behavior?
But then the a new trace is being created at the
send_log
.Other Info
I have added celery instrumentation in
celery.py
filedjango_email_celery.zip
@ocelotl @codeboten
The text was updated successfully, but these errors were encountered: