Hi,
We're using the Dynatrace OneAgent lambda layer to integrate nextjs applications, as containers, hosted in aws lambdas with our observability platform.
Unfortunately, this has proven impossible as the web adapter seems to trigger the lambda directly instead of modifying the runtime startup (?) - this is a bit beyond me, so the feedback from Dynatrace tech team is below:
- the aws lambda web adapter starts the Lambda runtime by itself - this is inconsistent with the AWS Lambda standards; we adhere to these standards by modifying the runtime startup to start using our agent instead.
Is this something that can be altered such that both the web adapter and the dynatrace one agent lambda layer can work side by side?
Expected Functionality
An AWS lambda hosting a nextjs application, as a container, using both the aws lambda adapter and the Dynatrace OneAgent lambda layer, results in 1) a nextjs application that can both serve web requests, and 2) lambda telemetry reported to Dynatrace without instrumentation within the application code itself
Actual Functionality
An AWS lambda hosting a nextjs application, as a container, using both the aws lambda adapter and the Dynatrace OneAgent lambda layer, results in only a nextjs application that can serve web requests
Hi,
We're using the Dynatrace OneAgent lambda layer to integrate nextjs applications, as containers, hosted in aws lambdas with our observability platform.
Unfortunately, this has proven impossible as the web adapter seems to trigger the lambda directly instead of modifying the runtime startup (?) - this is a bit beyond me, so the feedback from Dynatrace tech team is below:
Is this something that can be altered such that both the web adapter and the dynatrace one agent lambda layer can work side by side?
Expected Functionality
An AWS lambda hosting a nextjs application, as a container, using both the aws lambda adapter and the Dynatrace OneAgent lambda layer, results in 1) a nextjs application that can both serve web requests, and 2) lambda telemetry reported to Dynatrace without instrumentation within the application code itself
Actual Functionality
An AWS lambda hosting a nextjs application, as a container, using both the aws lambda adapter and the Dynatrace OneAgent lambda layer, results in only a nextjs application that can serve web requests