Skip to content

Conversation

@snopoke
Copy link
Collaborator

@snopoke snopoke commented Feb 10, 2025

Allow recording Celery task args by passing taskbadger_record_task_args=True or using CelerySystemIntegration(record_task_args=True).

Task args are store in the task.data:

{"celery_task_args": [2, 2], "celery_task_kwargs": {"bar": 3}},

Args, and kwargs must be JSON serializable or have custom types registered with Kombu: https://docs.celeryq.dev/projects/kombu/en/stable/userguide/serialization.html#serializers

@snopoke snopoke merged commit b8eafbc into main Feb 10, 2025
5 checks passed
@snopoke snopoke deleted the sk/record-args branch February 10, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants