Hi! How can we help you?
Questions & Answers
Rick Von Sloneker
July 25, 2018 16:08
Docker image contains Takipi. How to turn it off for developers but not Production?
Our docker base image contains takipi, and it is great that it runs while we use that image in production, but I want to prevent it from running when devs run the image on their setup.
Is there a way to disable takipi selectively?
July 25, 2018 16:25
July 25, 2018 16:26
there are several ways you could accomplish that:
You can make sure the -agentlib:TakipiAgent is only added to the JVM arguments in your production environments.
You can "
" a running agent by simply adding a file called
in your resource folder. Typically path would be /opt/takipi/resources. See also
You could deploy the license key only at runtime. So when running in Production the data is collected against your Production key. The local engineers get their own keys for their Dev environments.
You could deploy remote Collectors vs. local Collectors and connect your Agents to the remote collectors. You can set the remote collector Host and Port for your Agents via environment variables so only production Agents reports into the production collector. For details you can look
Hope this helps.
to leave a comment.