Problem Statement
Currently if Celery Beat auto-instrumentation is enabled (with monitor_beat_tasks=True option) ALL tasks in the beat schedule are instrumented. Have the possibility to exclude some tasks from being instrumented.
Solution Brainstorm
Create a new option exclude_beat_tasks=[] that is a list and defaults to an empty list.
It contains strings of Celery beat task names, the same names that are used in the beat schedule.
If an task is in that list, it will not be autoinstrumented.
Problem Statement
Currently if Celery Beat auto-instrumentation is enabled (with
monitor_beat_tasks=Trueoption) ALL tasks in the beat schedule are instrumented. Have the possibility to exclude some tasks from being instrumented.Solution Brainstorm
Create a new option
exclude_beat_tasks=[]that is a list and defaults to an empty list.It contains strings of Celery beat task names, the same names that are used in the beat schedule.
If an task is in that list, it will not be autoinstrumented.