This PR adds a Meta label for the task slot
With this, user can map label in prometheus conf
Without that, the unique way to differenciate task is by task id or ip address
I think the service name and task slot is a better way to identify a task in swarm mode
I would like to open issue on your fork to discuss about a new impementation to discover swarm services like k8s services.
Today the swarm discovery only scraps tasks; not services
This PR adds a Meta label for the task slot With this, user can map label in prometheus conf
Without that, the unique way to differenciate task is by task id or ip address I think the service name and task slot is a better way to identify a task in swarm mode