{"version":"2.1.330","anchor":"self-hosted-runner-new-work-order-latency-metrics-and-clear","canonical_anchor":"self-hosted-runner-new-work-order-latency-metrics-and-clear","heading":"Self-hosted runners report how long new work takes to start","tier":"notice","area":"Runners","scope":"org","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/self-hosted-runner-new-work-order-latency-metrics-and-clear","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Self-hosted runners report how long new work takes to start\n\nSelf-hosted runner metrics gain two timings for new work, and the last error is no longer wiped right after a hook failure\n\n**What**\n\nIf you run self-hosted runners, their metrics output for Prometheus (a monitoring tool) has changed:\n\n- `order_to_registered_seconds`: how long from a work order until the runner registers.\n\n- `order_to_first_session_seconds`: how long from a work order until the first session starts.\n\n- `last_poll_age_seconds`: before the first poll, this now counts from when the process started.\n\nThe orchestrator's `last_error` is also no longer cleared straight after a hook failure.\n\n**Why**\n\nOperators can see how long runners take to start work, and a hook failure stays visible instead of being wiped.\n\n- Area: Runners\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: org\n- Heads-up: no"}