How to access the client with custom code

I am trying to use APM with custom python code, and am wondering what is the recommended way of doing so? Should each class either create a client instance or receive it as a parameter? Is there any way of creating it the once and accessing it (like with the logging library)?

Also - if i wish to disable APM in a production scenario - what is the easiest way of doing so?

Thanks!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.