Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

If monitoring has been enabled with cAdvisor, user can monitor live CPU/Mem/network usage of the container (job).

The web interface, while job is running, display a usage button that shows the current container usage.

 

When job is over, those metrics are not available anymore.

 

However, GoDocker provides Prometheus metrics. If available, one can get past metrics of a task on Prometheus web interface with query:

 

rate(container_cpu_usage_seconds_total{name="mesos-05f4011f-faa9-4a3c-bbaf-128585555ce1"} [5m])

 

  • "mesos-XXX": is the name of the container. It can be found in the job details.
  • container_cpu_usage_seconds_total: is a prometheus metric for CPU
  • 5m: rate 5 minutes ago

 

  • No labels