Open jtyr opened 7 years ago
Gonna try working on this feature
Do you have a developer guides? I can try it.
I wrote the output for node
, service
and task
in a docker swarm cluster.
But I have interesting question. How I should get Resource usage for tasks and their containers from remove nodes?
Did anyone has ideas?
I don't see a way forward with swarm support that doesn't require a stats forwarder/proxy deployed to each node in the cluster
Ok. But may be to add toggle switch to swarm mode
, which displayed structure of the swarm cluster, if swarm enabled on this docker and this docker is a manager
swarm.
By example:
node_1
| +--service_1
| +---task_1_1 | health_check
| +---task_1_2 | health_check
| +__service_2
| +---task_2_1 | health_check
| +---task_2_2 | health_check
|node_2
+--service_1
+---task_1_1 | health_check
a way would be to run it as a global service, still a bit complex and a totally new application
I implemented swarm mode in ctop in my fork, but me yet need add some optimizations.
It would be nice to monitor containers across all Swarm Mode cluster.