Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 982 Bytes

File metadata and controls

15 lines (11 loc) · 982 Bytes

AWS SDK Sample Application

**This Sample App is a work-in-progress because it depends on the OpenTelemetry public layer. The public layer will not be published

This sample application demonstrates usage of the AWS SDK. To try it out, make sure the collector and nodejs Lambda layers are built.

In collector, run make package. In nodejs, run npm install.

Then, run terraform init and terraform apply. The lambda function will be initialized and the URL for an API Gateway invoking the Lambda will be displayed at the end. Send a request to the URL in a browser or using curl to execute the function. Then, navigate to the function's logs here. You will see a log stream with an event time corresponding to when you issued the request - open it and you can find information about the exported spans in the log stream.