I'm trying to install a monitoring agent (from Dynatrace / DataDog) on the VMs that get launched from our workflow and discovered the agents can't be directly installed in Docker containers (we're running Google Pipeline API). Both products say that the way to run these monitoring agents in a Dockerized environment is to perform a docker run of a particular image they have that contains their monitoring software. Seeing as how Cromwell issues it's own docker run of the image we've created is there some kind of pre-start hook that we can tap in to so that we can run the monitoring container before our workflow container is run?
Failing that, does anyone have an idea where in the Cromwell source code the
docker run command is issued?