# AWS Image-Based Lambda Showing Logs but No Traces or Service in Dynatrace

**URL:** <https://community.dynatrace.com/t/aws-image-based-lambda-showing-logs-but-no-traces-or-service-in-dynatrace/56407>\
**Category:** Container platforms\
**Tags:** lambda, docker\
**Created:** [July 9, 2026, 11:52am UTC](https://community.dynatrace.com/t/aws-image-based-lambda-showing-logs-but-no-traces-or-service-in-dynatrace/56407 "2026-07-09T11:52:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashwinjayakumar](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Ashwinjayakumar](https://community.dynatrace.com/u/Ashwinjayakumar)\
**Post date:** [July 9, 2026, 11:52am UTC](https://community.dynatrace.com/t/aws-image-based-lambda-showing-logs-but-no-traces-or-service-in-dynatrace/56407/1 "2026-07-09T11:52:21Z")

</div>

Hi Team,

I’m trying to instrument an **AWS image-based Lambda** with Dynatrace by adding the following components through the AWS CLI:

- Dynatrace Lambda extension
- Dynatrace layer
- Dynatrace agent configuration

The deployment completes successfully, and the Lambda executes without errors.

### Current Behavior

- ✅ Lambda invocations are successful.
- ✅ CloudWatch logs are being generated.
- ✅ The Lambda is visible in the Dynatrace managed account/environment.
- ✅ Environment variables appear to be configured correctly.
- ❌ No traces are being generated.
- ❌ The Lambda is not appearing under **Services** in Dynatrace.
- ❌ No end-to-end distributed tracing is visible.

### Verification Performed

- Cross-checked all Dynatrace-related environment variables.
- Confirmed that the extension, layer, and agent configuration are attached to the Lambda.
- Verified that Lambda executions are producing CloudWatch logs.
- No obvious configuration issues were found.

### Environment

- AWS Lambda Type: **Container Image (PackageType=Image)**
- Runtime: **[Nodejs]**
- Dynatrace Deployment Method: **Extension + Layer + Agent**
- Dynatrace Environment:&nbsp; **SaaS**

### Questions

1. Is there any additional configuration required for **container image-based Lambdas** beyond attaching the Dynatrace extension and layer?
2. Are there known limitations or extra steps needed for trace generation in image-based Lambdas?
3. What log entries should I look for to confirm that the Dynatrace agent/tracer is initialized correctly?
4. Is there a recommended way to validate whether spans are being generated and exported successfully?

Logs:

Message

| { “level”: “info”, “ts”: 1783597163.178263, “caller”: “collector/collector.go:65”, “msg”: “No dynatrace config file found. This is probably fine if you use other configuration methods.”, “component”: “collector”, “error”: “dtconfig.json neither in current directory (error: stat dtconfig.json: no such file or directory) nor in /var/task: stat /var/task/dtconfig.json: no such file or directory” } |
| --- |
| 2026-07-09T11:39:23.181Z info otelconftelemetry/metrics.go:25 Internal metrics telemetry disabled{ “resource”: { “service.instance.id”: “820e287f-34c0-472b-979d-14483c67af2e”, “service.name”: “otelcol”, “service.version”: “1.339.3.20260617-150944” } } |
| 2026-07-09T11:39:23.186Z info [service@v0.150.0](mailto:service@v0.150.0)/service.go:241 Starting otelcol…{ “resource”: { “service.instance.id”: “820e287f-34c0-472b-979d-14483c67af2e”, “service.name”: “otelcol”, “service.version”: “1.339.3.20260617-150944” }, “Version”: “1.339.3.20260617-150944”, “NumCPU”: 2 } |
| 2026-07-09T11:39:23.186Z info extensions/extensions.go:40 Starting extensions…{ “resource”: { “service.instance.id”: “820e287f-34c0-472b-979d-14483c67af2e”, “service.name”: “otelcol”, “service.version”: “1.339.3.20260617-150944” } } |
| |

 ![Ashwinjayakumar_0-1783596268922.png](https://global.discourse-cdn.com/dynatrace/original/3X/9/0/90629f03b09da3e3e8af88bdbf4a002cdf1f9131.png)
