ARNscopeDocs

Lambda fleet triage

Last updated 30 November 2026

Use case: Failing Lambda across accounts

When an alert says “checkout is slow” and you have a dozen accounts, the first question is which function. Fleet triage answers it in one view: every Lambda function in the profiles and regions you pick, ranked by an on-fire score, with the reason under each name. Click the top row to open that function on the same time window, then follow its errors to the trace. See AWS Lambda.

It only reads, it shows what the read will cost before it runs, and it never polls.

84 seconds, narrated, with captions: from a failing checkout at 2am to the function on fire, its error group and the failing call in its X-Ray trace. Sample data.
Fleet triage over three profiles and three regions: payment-authorize in fernwood-prod scores 60 with 388 errors and a p95 1.9 times slower, ml-batch-scorer in fernwood-sandbox 50, report-export in fernwood-staging 41 near its timeout, eu-checkout-api 33 with 380 throttled; one profile-region is listed as access denied above the table.
36 functions in 3 profiles × 3 regions, hottest first. The estimate beside Refresh is the CloudWatch cost of the next read. Sample data.

Open it

Open Lambda and click Fleet triage at the top of the function list. The first time, it reads the profile and region the page is on. Then choose:

Your choice is remembered for next time. After you change profiles or regions, the bar says the view is out of date until you press Refresh.

What is read, and what it costs

Step Call Cost
List the functions in each profile and region lambda:ListFunctions (on open, a list ARNscope already holds is reused; Refresh lists again) Free
Read their metrics cloudwatch:GetMetricData, batched: six metrics per function, up to 83 functions per call, each metric covering both windows $0.01 per 1,000 metrics, as CloudWatch bills it

The header shows the estimate for the next read, for example ≈ 216 metrics · $0.002, with ≥ while some regions have not been listed yet. A read of 10,000 metrics or more (about ten cents) waits for you to confirm it. The status bar says what the last read covered: how many regions, when, how many metrics and calls, and the cost.

Fleet triage reads when you open it, when you press Refresh and when you change the window. It never refreshes on a timer. Stop ends a read after the calls already in flight, and so does leaving the page. Up to four profile-regions are read at a time.

The on-fire score

Each function gets a score from 0 to 100, the sum of four parts:

Part Points Full points when
Errors up to 50 a 10% error rate and at least 5 errors
Throttles up to 20 5% of requests throttled and at least 5 of them
Near timeout 15 the slowest call took 90% or more of the function’s timeout
Slowdown up to 15 p95 is 2× the previous window (it starts counting at 1.2×), with at least 20 calls in each window

Errors and throttles scale with the count as well as the rate, so one failed call out of two does not top the list. A p95 over a handful of calls is noise, so the slowdown needs 20 calls in both windows. Scores under 5 show as —.

Under each name, a short line says what drives the score, for example “388 errors (9.2%) · p95 1.9× slower” or “max 59.1 s of 60 s”. Hover the row for the full breakdown. Functions with nothing to report show their calls and peak concurrency instead.

Read the table

Column What it shows
Function · score The score chip and the function name, with the reasons under it
Profile · region Where it runs; hidden when the read covered one profile and region
Errors Error rate and count in the window; throttled requests under it
Duration p95 and its change against the previous window; under it the slowest call against the timeout, amber at 90% or more

The strip above the table counts Functions (with the idle ones hidden; show lists them), On fire (score 50 or more), Erroring, Throttled and Near timeout. Click a column header to sort by it instead of the score. Columns adds calls, throttles, p95 change, max ÷ timeout and peak concurrency. Filter by function, profile or region name. The table exports to CSV, and right-clicking the Fleet triage title copies the top 50 rows as tab-separated text, ready to paste into an incident channel.

Click a row (or press Enter) to open the function. In the page’s own profile and region it opens in place; elsewhere it opens in its own tab. Either way the Monitor tab starts on the same time window, so the numbers match.

When a region can’t be read

One failure never blanks the table. Each profile and region that could not be read is a line above it, with the reason: Access denied (the role can’t list functions or read metrics), Signed out (an expired SSO session), Throttled, or Not read. The same failure across several regions of one profile is one line. The other profiles and regions are ranked as usual.

Permissions

What Actions
List functions lambda:ListFunctions
Metrics cloudwatch:GetMetricData

Both are read-only. A profile without them shows as Access denied for its regions.

Limitations

Want another signal in the score, or a different threshold? Write to hello@arnscope.com.