Docker-compose + fleet + RUM + APM on version>= 7.16

Thanks Silvia,

i added the integration, but it doesnt work.
could it be that the policy of elastic agent isn't right?

because when i look at what runs it runs the default fleet server policy.

wheras apm seems to be added in the default policy:

does this also mean that i need 2 agents in my docker compose? or how do i tell the agent which policy it uses?