cuigh / prometheus

The Prometheus monitoring system and time series database.
https://prometheus.io/
Apache License 2.0
3 stars 2 forks source link

Add a meta label for the task slot number #4

Closed WTFKr0 closed 5 years ago

WTFKr0 commented 5 years ago

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

WTFKr0 commented 5 years ago

Thanx

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

cuigh commented 5 years ago

OK, issues is enabled now.