We are using Flower to visualize tasks and workers in Celery. The problem is that we use Amazon autoscaling to spawn new workers. Hence, old workers terminate one day and new workers are spawned the next day and they register themselves as new workers. The old ones still remain there as offline workers. This makes sense if we are interested to see the stats of each worker. Is there a way to hide them if we are not interested in their stats?
Also most of the times a new workers registers itself, Flower has an issue showing it, it shows
Unknown worker 'celery@ip-172-XX-XX-XX'
How can we ensure that each worker can be visualized properly when online and avoid this error?