Closed pixie79 closed 1 year ago
Hi @pixie79 - that code looks good at a glance, so my best guess is that there's an issue with the configuration in AWS Lambda like an API Key, DD_SITE
/DD_ENV
config, or maybe an issue with the datadog extension?
Do you think you could open a support ticket with us directly? That'll help us troubleshoot those other contributing factors which can't be handled in an open source github ticket.
Thanks!
issue was the handler needed to be called - bootstrap and the go needed to be compiled to a file called bootstrap as this is what the DD Handler is looking for it appears
I have the following code, which I can see is building and connects to Datadog but it seems to not execute anything in the myHandler function. I don't see the log entries appear in CloudWatch or the metric appear in DD.
Any ideas where I have gone wrong?
Goland is complaining that build constraints exclude all GO files, but it builds ok. I set go.mod to 1.18