Help / Monitors and SSH debug
Monitors and SSH debug
Monitors tell you when jobs fail or slow down. SSH debug puts you inside a job's VM to see why.
Monitors
A monitor watches the jobs that match its filters, records each bad one on the Monitors page, and alerts Slack or email. Only admins of the account can add or change monitors.

Create one
- Open Monitors → New monitor and name it.
- Choose what to watch for: Failed jobs or Slow jobs.
- Choose which jobs: a repository, and optional branch, workflow and job patterns. Leave a box empty to match anything;
*is a wildcard, as inrelease/*; matching ignores case. - Set when to alert. For failures, the number of failures in a row, counted per repository, workflow and job; cancelled and preempted jobs do not count either way. For slow jobs, a run time in minutes, measured from the job starting on our runner to it finishing.
- Set a quiet period: bad jobs inside it are still recorded on the page, without another alert.
- Add a Slack incoming webhook URL, up to five email addresses, or neither to keep events on the page only. The webhook is stored encrypted and never shown again.
The form previews how many recent jobs matched the filters and how many would have counted, so you can tune a threshold before saving. Send a test alert checks the Slack or email delivery. Events appear within a minute of a job finishing.

A failure monitor can also keep the failed job's VM up for up to 30 minutes so you can SSH in; that time is billed per second at the job's runner price.
SSH into a job
An admin turns SSH debug on under Settings → SSH debug. Then:
- Open the job's page while it runs and press SSH into this job. Access opens for you for 30 minutes; ask again for more time.
- We check that your GitHub account has write access to the repository and accept only the SSH keys on your GitHub account.
- Run the
sshcommand the page shows. It pins that VM's recorded host key. You land in the job's VM asrunner, with sudo; the workspace is under~/actions-runner/_work.
By default only account admins who ask on the job page get in. An admin can also admit the person who started the run, if they have write access to the repository. That lets anyone who can push open a shell on a job they start, with that job's secrets, so choose it deliberately.
To inspect a failure after the fact, set Keep a failed job's VM up in Settings. A failed job's VM then stays for that long, billed per second; end it early from inside with sudo touch /run/dr-ssh/done.
See what a job talked to
About 20 minutes after a job's VM is deleted, its page shows a Network section: every address the VM sent to or received from, with ports, connections and bytes each way. It comes from Google's network logs, outside the VM, so nothing the job runs can change or hide it.
- Host names come from Google's DNS log of the lookups the VM made. Where there is none (a job with its own resolver, say), the name from the VM's own connection report is shown and marked as such.
- Each destination is marked Internet, Google, DiscountRunners (our cache, mirrors and the metadata server) or Private.
- Connections the network blocked, such as to known-malicious addresses, are listed with the reason.
- If the VM's own report left out an internet destination the network saw, the page says so. Something in the job may have hidden its traffic.
Download it as CSV, JSON or OCSF Network Activity events (one per line, ready for Splunk, Datadog or Sentinel), or read it from the API at GET /v1/jobs/{job_id}/network. It is kept 30 days, for jobs on GCP runners.
Limit what jobs can reach
Under Settings → Egress allowlist, an account admin names the hosts this account's jobs may reach, one per line. registry.npmjs.org allows only that host; *.pypi.org allows its subdomains. GitHub Actions, the Ubuntu and image mirrors and our own services are always allowed.
- Audit blocks nothing. Each job's log ends with the names it looked up that the list does not cover, so you can build the list from real runs.
- Block makes names off the list fail to resolve, and refuses connections to any address an allowed name did not resolve to.
The VM enforces the list before the job starts. A job with sudo could change that, so the job's Network section also checks the network's own record against the list after the VM is gone. Any destination off the list that still got traffic is marked not on allowlist. It applies to Linux jobs on GCP runners started after you save.
Capture a job's packets
Under Settings → Packet capture, an account admin picks a repository, and optionally one runner label, and records the packets of its jobs for the next 24 hours. A job can also ask for its own capture by adding /capture to its label, before any /key=:
runs-on: discountrunners-4vcpu/capture
Each captured job's page then offers a pcapng file, which opens in Wireshark or tcpdump, for 7 days. Only the account's admins can download it.
- It records the VM's network card from boot to the end of the job, including the job's containers.
- Headers only: each packet is cut to 128 bytes, so it shows who talked to whom, when and how much, not what was sent.
- DNS lookups and the opening message of each TLS connection, which names the server, are kept whole, so Wireshark can show the hostname behind each address. No request or response data is kept.
- Packets to or from Google, which carries this service, and the VM's metadata server keep their headers but have their payload zeroed, each marked masked: platform traffic. Nothing is left out, so the capture stays complete. That includes the job's own Google Cloud traffic.
- A capture stops at 256 MiB, and its last block says how many packets the VM's kernel dropped.
The VM records itself, so a job with sudo could change its capture. The job's Network section is the network's own record of the same traffic, which the job cannot change. Linux jobs on GCP runners only.
Why did my job wait or fail?
The job page answers first: a waiting, preempted or cancelled job carries a sentence that says why and what to do. The run timeline shows waits for a runner on the same axis as the jobs. For imported jobs, History splits the log by step and compares step times with earlier runs. With the diagnose-a-job skill, Claude reads all of these for you. The troubleshooting guide lists the usual causes.
Screenshots and videos in Help are a demonstration rebuilt from our own benchmark jobs. The jobs, steps, run times and charges are real; queue waits and the CPU, memory, disk and network graphs in them are illustrative, not measurements.