docker.service-ps

Collect information about the tasks run by one or more services

docker.service-ps

Collect information about the tasks run by one or more services

collect:
  v1:
    - docker.service-ps:
        output_dir: /swarm/services/www/tasks/
        description: List of all services starting with `cooltool-`
        Filters:
          name:
            - cooltool-

Required Parameters

  • Filters - Same as would be passed to docker service ps

Outputs

  • service_ps.json - JSON output


Shared Parameters

This spec also inherits all of the required and optional Shared Parameters