ARNscopeDocs

AWS Lambda

Last updated 30 November 2026

Use cases: Failing Lambda across accounts · Alarms on your Mac

ARNscope puts a Lambda function’s metrics, logs, configuration, triggers, versions, code and test events on one page. When something is wrong and you don’t know where, Fleet triage ranks every function across your profiles and regions by how much it is on fire. From a function, Error groups gathers its errors by message, and one click opens an invocation with its log lines, its REPORT line and its X-Ray trace.

Reading is free of side effects. Invoking a function and changing its settings are writes: they need Writes on for the profile and region, and each one asks first. See Writes and confirmations.

Which Lambda is on fire? 84 seconds, narrated, with captions: Fleet triage across three profiles and three regions, the top function opened on the same hour, its error group, then one invocation's X-Ray trace with the card gateway's 504. Sample data.

Functions

Open Lambda in ARNscope. The page uses the profile and region in the title bar; change the region there to see another region’s functions. The list shows every function with its runtime and version, and on the right its invocations and error rate over the last 24 hours, from CloudWatch metrics. Type in the filter to narrow the list by name, description or tag. Fleet triage sits at the top of the list.

Each function's invocations and error rate over the last day, and a filter by name.

Select a function to open it. The header shows its description, the version or alias picker, Tail function, the Writes switch and Test. Under it a strip shows the runtime, memory, timeout, architecture, version and code size. The tabs are Monitor, Configuration, Connections, Versions, Code and Test.

Fleet triage

Fleet triage answers “which function is on fire right now?” across every profile and region you pick. It reads the function lists and one batched metrics call per region, scores each function on errors, throttles, calls near the timeout and a p95 slowdown against the window before, and ranks them hottest first. The cost of the metrics read is shown before it runs, and it never polls. Click a row to open that function’s Monitor tab on the same time window.

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; one profile-region is listed as access denied above the table.
36 functions in 3 profiles × 3 regions, ranked by on-fire score; the region a role can't list says so above the table. Sample data.

The score, the cost and what is read are explained in Lambda fleet triage.

Versions and aliases

The version or alias picker in the header (it shows $LATEST by default) chooses what the page looks at. Pick a published version or an alias, and Configuration, Connections, the metrics, the log search, cold starts and Test all follow it. Each tab then says in a line under the tabs what it is showing, for example “Showing version 4 (90%); 5 (10%) …” for an alias that splits traffic.

What the metrics count depends on the choice:

Picked Metrics count
$LATEST Every call to the function, all versions and aliases (AWS publishes no $LATEST-only series)
An alias Every call through the alias
A version reached through an alias The alias’s calls that ran that version (the ExecutedVersion dimension). Throttles and concurrency are not split by version, so those tiles are empty
A version called directly Direct calls to that version only; calls through an alias are not included

For a version, the log search and cold starts read only the log streams that version wrote.

The Versions tab lists:

The Versions tab of order-validate: the prod alias routes 90% to version 4 and 10% to version 5, staging routes to version 5, prod has 20 provisioned concurrent executions Ready, and six versions are listed with their aliases.
Aliases with their routing, provisioned concurrency and every version. Sample data.

With Writes on, the same tab publishes a version, creates, edits and deletes aliases, and adds or removes provisioned concurrency. See Change settings.

Metrics and cold starts

Insights sits at the top of the Monitor tab. It shows, for the chosen time range, a tile and a small chart for each of:

Tile What it shows
Invocations Total invocations and peak concurrency
Errors Errors and the error rate
Throttles Throttled invocations
Duration p95, with p50, p99 and the average
Concurrency Maximum concurrent executions
Cold starts Count and share of invocations, with the average and maximum init duration

Invocations, errors, throttles, duration and concurrency come from CloudWatch’s AWS/Lambda metrics. Cold starts come from a Logs Insights query over the function’s REPORT lines; that query scans the log group and is billed per GB, so the line under the tiles says how many records and bytes it scanned. Click Insights to fold the tiles away.

Invocations, errors, throttles, duration percentiles, concurrency and cold starts, for one time range.

The time range (the last 15 minutes up to 7 days, or a custom range) drives both the metrics and the log search below them. The refresh button reads the metrics again and only log events newer than those shown; cold starts are counted again on a manual refresh only, since each count is billed.

Log search has two views: Search and Error groups.

Search reads every stream in the function’s log group for the time range, newest first, and groups the lines by invocation: each group shows its request ID, when it started, its duration, how many lines it wrote, and chips for a cold start, errors or warnings. Expand a group to read its lines; JSON lines can be opened formatted.

The log group's lines, grouped by invocation, with quick filters for errors and cold starts.
One request ID, every line that invocation wrote.

A search reads up to 500 events at a time; when more match, Load more reads the next page.

Error groups

Error groups reads the lines that look like errors in the time range and groups them by message, with request IDs, numbers and other values in the message ignored, so a thousand timeouts with different IDs are one row. It finds timeouts, out-of-memory exits, Runtime.* errors, uncaught exceptions and lines logged at ERROR, FATAL or CRITICAL.

Each row shows the kind (Timeout, Out of memory, Runtime, Uncaught or Logged), the message, a small chart of when it happened across the range, how many invocations hit it and when it was last seen. Expand a row for its first and last time, its error type, the latest full message and the request IDs that hit it, newest first. When CloudWatch’s read budget runs out before the whole range is read, Load older keeps going back in time.

Error groups for payment-authorize over the last 3 hours: one Uncaught group, PaymentProvider.Timeout: Card gateway did not respond within n ms, hit by 10 invocations, expanded to show its type, latest message and the request IDs, each with Open.
Errors grouped by message, with the invocations that hit each one. Sample data.

From an error to its trace

Open on a request ID shows that invocation on its own:

One failed invocation of payment-authorize: status Failed with PaymentProvider.Timeout, 543 ms, 197 of 512 MB, warm start, and its X-Ray trace, where a POST to api.cardnet.example took 445 ms and returned a 504 Gateway Timeout.
An invocation's report and its X-Ray trace: the 504 from the card gateway is the slow, failing call. Sample data.

The trace ID comes from the REPORT line (XRAY TraceId). When the function has no active tracing, the view says so and points to Configuration. When the REPORT line has no trace ID but the function logged one itself, ARNscope uses that ID and says X-Ray has it only if the request was sampled.

Log streams

Log streams lists the 20 newest streams with the time of their latest invocation. Open one to read it invocation by invocation: pick a request ID from the menu, or filter the lines as you type. The Invocation details panel shows the selected invocation’s request ID, status, start, duration, billed duration and memory, and the log group and stream it came from.

A log stream, read invocation by invocation.

Live Tail

Tail function starts CloudWatch Logs Live Tail across every stream of the function, and new lines arrive as they are written, with a Live chip while it runs and a request ID menu to pick one invocation. Stop tail ends it, and it also stops when you leave the page. The view keeps the newest 2,000 records and drops older ones, and it says when CloudWatch sampled a busy update. Live Tail is billed by CloudWatch per minute.

Live Tail across every stream of the function.

Configuration

The Configuration tab shows what the Lambda console spreads over several pages, read-only:

The Configuration tab of order-validate: general configuration with state Active, last update Successful, memory, timeout, handler and reserved concurrency, then the code, permissions and masked environment variables.
State, settings, role and environment variables on one tab. Sample data.

If the profile can’t read one part (a read-only role often lacks lambda:GetFunctionCodeSigningConfig or lambda:ListTags), only that part says “Not readable with this profile” with the action it needs; the rest of the tab still shows.

Connections

Connections shows what invokes the function and where its results go:

The Connections tab of order-validate: an SQS event source mapping from order-events, enabled with batch size 10 and a filter, an API Gateway push trigger, and the resource-based policy statements with their principals and conditions.
Triggers from event source mappings and the resource policy, side by side. Sample data.

For an alias or version, the triggers, policy, function URL and asynchronous config are the ones on that qualifier. A function URL attaches to $LATEST or an alias, never to a published version.

Code

The Code tab downloads the function’s deployment package and shows it read-only: a file tree, with the handler’s file marked, and a viewer with syntax colours. The bar above shows the code hash, the package size zipped and unzipped, the number of files and the handler. Save .zip saves the package as AWS returned it, through a native Save dialog.

The Code tab of payment-authorize: the package's file tree with dist/handler.js marked as the handler, and the file open in a read-only viewer.
The deployment package, read-only, with the handler's file marked. Sample data.

The package link AWS returns is used inside the app only, over HTTPS to AWS hosts, and is never shown, copied or logged. ARNscope opens packages up to 50 MB zipped and 250 MB unzipped (Lambda’s own limits for a direct upload and an unzipped package) with up to 20,000 files, and shows files up to 2 MB; binary files are listed but not shown. For anything larger, the tab gives the AWS CLI command that prints a download link. A container image function shows its image URI and digest instead, since its code lives in ECR.

Test and invoke

The Test tab (also the Test button in the header) holds test events and runs the function:

The Test tab of order-validate: the saved event Valid cart on the left, and on the right a synchronous result that Succeeded with status 200, executed version $LATEST, 127 ms duration, 104 of 512 MB, warm start, the request ID and the response payload.
A saved event, run synchronously: the response, the report and the request ID. Sample data.

Invoke runs the function for real, so it is a write: it needs Writes switched on for the profile and the function’s region, and after you click it a native confirmation shows the function (with its version or alias) and the start of the payload before anything is sent. The event can be up to 6 MB. If your role cannot invoke the function, the tab says so with the reason from the IAM permission check.

Change settings

With Writes on for the profile and region, ARNscope can change a function’s settings. Every change opens a dialog that shows each field before and after, then a native confirmation before anything is sent. On a production profile the dialog is marked Prod and its button says so (for example Apply to production…). Each change is recorded in the activity log, with environment variable key names only, never values.

Where What you can change
Configuration → Edit settings… Memory, timeout, ephemeral storage and description of $LATEST
Configuration → Edit variables… Environment variables: add, change or remove keys
Configuration → reserved concurrency Change… Reserve concurrency, go back to the unreserved pool, or throttle the function (0)
Connections → asynchronous invocation Edit settings… Retry attempts and maximum event age, for $LATEST, a version or an alias
Configuration → Edit tags… Add, change or remove tags
Versions → Publish version… Publish $LATEST as a new version, with a description
Versions → Create alias…, Edit…, Delete… Point an alias at a version, or split its traffic between two versions with a weight, for a canary
Versions → Add provisioned concurrency…, Edit…, Remove… Keep execution environments ready for an alias or version
The Edit environment variables dialog for order-validate on a production profile, marked Prod: each key with its masked value, reveal and remove buttons, Add variable, the note that only the keys you change are sent, and Review changes.

These changes are built not to overwrite someone else’s:

Changes apply to $LATEST (or to the alias or version you pick, where AWS allows it). A published version never changes; pick $LATEST to edit settings.

Permissions

What Actions
List functions lambda:ListFunctions
Metrics, the list’s last-day figures and fleet triage cloudwatch:GetMetricData
Cold starts logs:StartQuery, logs:GetQueryResults, logs:StopQuery
Log search, error groups and an invocation’s lines logs:FilterLogEvents
X-Ray trace xray:BatchGetTraces
Log streams logs:DescribeLogStreams, logs:GetLogEvents
Live Tail logs:StartLiveTail, logs:DescribeLogGroups
Configuration and Code lambda:GetFunction; optional: lambda:ListTags, lambda:GetFunctionCodeSigningConfig
Connections lambda:ListEventSourceMappings, lambda:GetPolicy, lambda:GetFunctionUrlConfig, lambda:GetFunctionEventInvokeConfig
Versions and aliases lambda:ListVersionsByFunction, lambda:ListAliases, lambda:ListProvisionedConcurrencyConfigs; a version’s log streams: logs:DescribeLogStreams
Invoke (write) lambda:InvokeFunction
Memory, timeout, storage, description, environment (write) lambda:UpdateFunctionConfiguration, lambda:GetFunctionConfiguration
Reserved concurrency (write) lambda:PutFunctionConcurrency, lambda:DeleteFunctionConcurrency
Asynchronous invocation (write) lambda:UpdateFunctionEventInvokeConfig, lambda:PutFunctionEventInvokeConfig
Tags (write) lambda:TagResource, lambda:UntagResource
Publish version (write) lambda:PublishVersion
Aliases (write) lambda:CreateAlias, lambda:UpdateAlias, lambda:DeleteAlias
Provisioned concurrency (write) lambda:PutProvisionedConcurrencyConfig, lambda:DeleteProvisionedConcurrencyConfig

The Configuration, Connections and Versions reads are each optional: a denied one shows in its own section only. Downloading the code package needs no further action than lambda:GetFunction, which returns its download link. A read-only role needs none of the write actions.

Limitations

Missing something you use in the Lambda console? Write to hello@arnscope.com and tell us what it is.