CDK app showcasing OpenTelemetry code-based instrumentation for AWS Lambda functions running on the Node.js runtime. Implements OpenTelemetry JS SDK 2.x for generating the traces which are sent to Honeycomb.
- cdk-aws-lambda-otel-auto-instrumentation-node - Uses OpenTelemetry auto instrumentation instead of code.
- AWS:
- Must have authenticated with Default Credentials in your local environment.
- Must have completed the CDK bootstrapping for the target AWS environment.
- Honeycomb:
- Must have set the
HONEYCOMB_API_KEY
variable in your local environment.
- Must have set the
- Node.js + npm:
- Must be installed in your system.
npx projen install
npx projen deploy
npx projen destroy