Tracing Celery consumer can be done in two methods:
- Auto-tracing using the environment variable.
- Calling the SDK.
Calling the SDK is simple, and should be done in your main py
file where the consumer is being initialized:
import epsagon
epsagon.init(
token='epsagon-token',
app_name='app-name-stage',
metadata_only=False,
)
Updated 8 months ago