All open source labs

Open Source

cloudwatch-application-signals-otel

šŸ•µļøā€ā™€ļø Getting Started with Application Signals & OpenTelemetry

TypeScript21 stars
ecsfargatenewsletter

CloudWatch Application Signals via OpenTelemetry on Fargate and Lambda

This project demonstrates how to run two simple Node.js apps using Fargate via ECS and AWS Lambda with SST v3 to showcase CloudWatch's Application Signals.

Getting Started

To run this application, follow these steps:

  1. Ensure you have Node.js installed on your system.
  2. Clone this repository to your local machine.
  3. Install the dependencies by running pnpm i in the project root directory.
  4. Provision the infrastructure via pnpm run sst:deploy:dev.
  5. Invoke either ECS or Lambda via the provided NX commands, e.g. INVOKE_PATH=/lambda pnpm run invoke:ecs:dev
  6. Open the CloudWatch console to explore your Application Map!

Important: Cost Considerations

āš ļø Warning: This project spins up Fargate tasks that remain running and will incur ongoing costs (approximately $7-$10 per month, not including CloudWatch charges).

To avoid unexpected charges, remove all resources when done by running:

pnpm run sst:remove:dev

Learn More

For more AWS fundamentals content and resources:

Looking for more hands-on labs?

Everything we build in the open — CLIs, libraries, and infrastructure snippets.

Browse all repositories →