Key metrics to watch

The following metrics only cover the host in which the Docker Machine executor is running:

  • process_cpu_seconds_total: If you have a small machine, it is useful to know whether the CPU is coping with the load. There is a count that records the total number of CPU seconds used by the Runner process:

A big increase in a short period of time could indicate issues.

  • process_open_fds: There is a maximum number of open file descriptors on a Unix system. If this number is reached, the system will generate errors and won't open files anymore:

If the maximum is reached, you can expect your jobs to fail.

  • process_resident_memory_bytes ...

Get Mastering GitLab 12 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.