<@ULVA73B9P> for work pools what is the default co...
# ask-marvin
j
@Marvin for work pools what is the default command for the
command (optional)
field
m
The details regarding the optional command field for work pools are not explicitly stated in the fragments from the documentation I searched. However, work pools are used to organize work for execution and involve specifying infrastructure and delivery methods. The command field likely refers to a customization of the worker job template, but the default command is not clearly provided in the provided excerpts. To get further details, you might want to check the full documentation on work pools directly: - Work Pools &amp; Workers If a specific default command is provided by Prefect for work pools, it would be detailed within the work pool configuration or job template section of the documentation. If you need more precise information, please let me know, and I can look into it further or you might want to read through the linked page for comprehensive details.
k
You can find that here
j
If I wanted to wrap that in ddtrace-run should I just set it to something like
ddtrace-run python -m prefect.engine
k
it'll be
prefect flow-run execute
unless you're on an older version of prefect since enhanced cancellation is on by default now
j
cool thanks trying
ddtrace-run prefect flow-run execute
It seems to still not be tracing the underlying run. When I run the flow locally using a python file I am able to pick up the traces. Is there a way to wrap the flow ddtrace and modify the flow run command?
We are specifically trying to trace database calls from our flow runs. Should I just set this up in the flow run code?
k
I'm sorry I have never used datadog 😢
j
😭
thanks for the help!