cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AWS Lambda using enviroment variables send error for dtconfig.json file

vgbellot
Newcomer

Hi

I have implemented Dynatrace in Lambda with NODE 18 using Dynatrace layer plus env variables, but I keep having this in my cloudwatch logs:

{
"level":"info",
"ts":1703710988.0810497,
"caller":"collector/collector.go:71",
"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"
}

Can someone help me?

Thanks!

2 REPLIES 2

Hi,

Did you set Handler correct?

Pawel_Zalewski_1-1703754617289.png

 

 

"The lions does not ally with the coyotes"

Thank for collaboration. Yes it's set right!

Featured Posts