On 23 Oct 14:00, Chan Lee wrote: > Hi all, > > When monitoring a Docker Swarm, is there a way to track task rejection? > > We're currently tracking container health by looking at the change in start > time but this doesn't cover the case where a task is rejected (no start > time is recorded as it never starts). In our case, a task was continually > being rejected because the service was trying mount a directory that didn't > exist. > > I've done some searching around but I can't seem to find either a query or > an exporter that would fill this need. Are there any solutions that you all > know about? > > We are currently using the following exporters: > > - cAdvisor > - Node Exporter > - https://github.com/prometheus-net/docker_exporter
Are you using the docker swarm discovery ? I would expect that the task should be scraped anyway ( and fail ) > > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/773e125e-d7f4-4bb6-b117-2ec217a7ce3an%40googlegroups.com. -- Julien Pivotto @roidelapluie -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/20201023213842.GB59651%40oxygen.

