I'm testing out the free trial to evaluate the APM features. My apps are Java apps running in docker containers on AWS ECS. I have set up an jvm app agent in each container to start up with the app when they are created. Deployments replace the all containers with zero downtime deployments, and i am using a 'chaos monkey' like system to randomly kill containers to test there is no downtime.
I have noticed with app agent that when a new app agent start, the old one is not deleted, which leaves the node count higher than it is, and also uses up licenses. I haven't been able to work out from the documentation if this is the behaviour I should be expecting to happen, or if there is some set up I have not found to make sure the agents are deregistered when the containers are stopped/killed?
Any help on this would be really useful.