- Run
npm install
to install all packages - Create an Application Insights Resource see docs
- Place Appliction-Key from AppInsight into env file
- Source
.env
export $(grep -v '^#' .env | xargs)
- Unset env variables with
unset $(grep -v '^#' .env | sed -E 's/(.*)=.*/\1/' | xargs)
- Unset env variables with
- Start the project with
npm run dev
command.
- api: API Gateway services
- greeter: Sample service with
hello
andwelcome
actions.- hello calls
hellotwo
to test internal call tracing - welcome call external endpoint
- hello calls
- greeter2: Sample service with
hellotwo
andwelcome2
actions.- hello called by
hellotwo
to test internal call tracing - welcome2 throws a molecular error
- hello called by
- Initial Tracer
- Send errors to AppInsights
- Send metrics to AppInsights
- Track external calls