How to attach APM agents for programs running in docker container?

I have several related applications running in docker containers. I would like to know how to attach apm agents to programs running on these containers. All the programs are not Java custom programs. Some of them are like MongoDB, Apache Kafka, Apache Solr etc.

Also I want this to be done during docker container startup itself. Because I dont want to attach agents everytime I restart my containers.

Please let me know any of you have any suggestions.

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