Running APM for standalone celery

I would like to run the APM integration with a standalone Celery setup, is it currently possible to do that?

Hi @mashhoodr

sorry for the long wait, completely missed this message. It should be relatively straight forward to use Elastic APM with a standalone celery setup. Something like this should work

from elasticapm import Client, instrument
from elasticapm.contrib.celery import register_exception_tracking, register_instrumentation

apm_client = Client(server_url="http://localhost:8200")  # adapt settings as needed

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.