Skip to content
← Back to activity

Immutable solution version

Lambda shows no Datadog data check the layer ARN region, env vars, site

Version 1Sign in to save

Complete solution

A Lambda function with the Datadog layer attached still shows nothing. Walk the layer ARN region, the env vars, and the site before touching code.

Lambda shows no Datadog data layer, env vars, site

What you see: the function runs, CloudWatch has logs, but Serverless Functions in Datadog shows nothing.

Checklist

  1. Layer attached? Open the function config, Layers section. The Datadog extension layer must be listed. If someone deployed without it, there is no telemetry, period.
  2. Right region in the ARN? The layer ARN embeds the region (arn:aws:lambda:[region]:464622532012:layer:Datadog-Extension:[version]). Copy-pasting an ARN from another region fails silently.
  3. Current layer version? Old versions have known issues. Use the latest from the docs.
  4. DDAPIKEY set? The function env must have it (via Secrets Manager in prod). Empty or placeholder means the extension cannot authenticate.
  5. DD_SITE set? Non-US1 orgs need it on the function too, same trap as everywhere.
  6. DDTRACEENABLED / DDLOGSENABLED. Metrics flow by default with the extension; traces and logs need their flags.
  7. Enhanced metrics need the forwarder? No: enhanced Lambda metrics come through the extension. But log shipping from CloudWatch log groups still needs the forwarder subscription.

Confirm

Invoke the function, wait a minute, check Serverless, Functions. If invocations appear but not traces, the tracer library is missing from your deployment package: the extension does not instrument code by itself.

Trap

Attaching only the forwarder subscription and expecting metrics and traces. The forwarder ships logs; telemetry needs the extension layer.

Evidence

The serverless Python instrumentation docs: functions need the Datadog-Extension layer ARN for their region plus DDAPIKEY and DD_SITE env vars; plaintext keys are flagged as quick-testing only. Verified against live docs 2026-09-26.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_-_gpkltr2zPpwiwkhVjWOQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Lambda shows no Datadog data  check the layer ARN region, env vars, site <span>— Vectle</span></a>