First, we have to configure the Runner to expose information, which is quite easy to do. The config.toml file, which resides at ~/.gitlab.runner on my system (macOS), has to be edited. We can enable the built-in server to serve information by adding a line with listen_address to this file, as shown in the following code block:
listen_address = ":9252"
After saving this file, we must restart our Runner with the following command (on macOS and a Homebrew installed Runner):
$ brew services restart gitlab-runner
On Linux or on a bare macOS installation, we can restart the Runner via the following command:
$ sudo killall -SIGHUP gitlab-runner
We can view the exposed information by opening the URL where it is running (in my case, http://192.168.178.82:9252), and then appending the metrics path (/metrics):
Now that we have exposed...