Skip to content

Runner Release 3.1.15

New feature

Machine Runner:

  • The machine runner can send metrics to an OpenTelemetry collector over OTLP. Metrics are off by default. To turn them on, set observability.metrics_destination to otel and observability.otel.host to the host of your collector. The observability.otel section also has port, protocol, secure and temporality. The CIRCLECI_RUNNER_OBSERVABILITY_* environment variables also set these values. Each metric has the com.circleci.runner.name tag. The runner sends:
    • circleci.runner.claim, a histogram in milliseconds of the polls for new work.
    • circleci.runner.task.startup, a histogram in milliseconds of the time the runner takes to start a task.
    • circleci.runner.task.running, a gauge of the tasks that the runner works on.

    The runner sends no traces. The container runner does not send metrics. Refer to Send machine runner 3 metrics to OpenTelemetry.

  • The runner metrics use delta temporality by default. To send cumulative metrics, for example to a collector with a Prometheus exporter, set observability.otel.temporality to cumulative.
  • On Windows, the runner stops the processes that a task leaves running when the task ends. It removes the working directory only after those processes have exited. To keep a process running after a job ends, start it outside the runner, for example as a Windows service.

Container Runner:

  • The garbage collector no longer deletes a running task pod when the pod’s node joins the cluster during a collection run, or when the pod belongs to another live container-agent replica. Before, this could cancel jobs during node scale-up when you ran more than one replica.

Both Machine and Container Runner:

  • Log lines look different in every log format (color, text and json), and some field names change. If you parse runner logs, check your parsers. At the info level, the runner now logs routine spans, such as empty polls for new work and health checks. Every request to CircleCI sends the runner’s own User-Agent. The Go memory limit is 90% of the cgroup memory limit, or of system memory if there is no cgroup limit, unless you set GOMEMLIMIT.

Previous changes

Server Release 4.9.9    

Do Not Sell or Share My Personal Information

CircleCI doesn't sell your personal information. We share some of it with advertising partners for cross-context behavioral advertising. Opt out to stop that sharing on this browser.

Privacy Policy Cookie Preferences