v2.4.0

View on GitHub Upgrade guide

Summary

Summary: beta windows support, prometheus metrics, disk statistics in workflow logs.

New features

  • Prometheus metrics export, every minutes, at /metrics (authenticated with Basic Auth and a new ServerPassword CloudFormation parameter).

    • runs_on_ec2_instances_total, across various labels: image_id, az, instance_type, instance_lifecycle, instance_state, repo_full_name, runner_id, workflow_job_name, workflow_job_started, workflow_name.
    • runs_on_cloudtrail_events_total, across labels event_name, for CreateFleet, RunInstances, and BidEvictedEvent events.
    metrics
    scrape_configs:
    - job_name: "runs_on"
      metrics_path: /metrics
      scheme: https
      basic_auth:
        username: admin
        password: YOUR_SERVER_PASSWORD
      scrape_interval: 60s
      static_configs:
        - targets: ["APPRUNNER_ID.APPRUNNER_ZONE.awsapprunner.com"]
    
  • Windows support (x64 only for now), with a base image: image=windows22-base-x64. Example. For now dependencies have to be installed in your workflow steps, or you need to build a custom AMI based on an official Windows 2022 AMI. Current boot time =~ 2min. This will get better.

    image
  • Display disk details in 'Runner Instance' log group.

    • Linux

      image
    • Windows

      image

Misc

  • Agent rewrite, to handle multi-platform (Windows, see above).
  • Windows EC2Launch logs are available at C:\runs-on\output.log.
  • Ability to specify an alternative public ECR registry for the RunsOn docker image.