Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/garysassano/cdk-aws-lambda-otel-auto-instrumentation
CDK app that demonstrates OpenTelemetry zero-code instrumentation in AWS Lambda using Node.js runtime
https://github.com/garysassano/cdk-aws-lambda-otel-auto-instrumentation
adot-auto-instrumentation auto-instrumentation aws aws-adot aws-cdk aws-distro-for-opentelemetry aws-lambda cdk faas lambda node-lambda opentelemetry otel otel-auto-instrumentation otel-instrumentation zero-code-instrumentation
Last synced: 7 days ago
JSON representation
CDK app that demonstrates OpenTelemetry zero-code instrumentation in AWS Lambda using Node.js runtime
- Host: GitHub
- URL: https://github.com/garysassano/cdk-aws-lambda-otel-auto-instrumentation
- Owner: garysassano
- License: apache-2.0
- Created: 2024-11-21T21:20:27.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-24T00:48:40.000Z (10 days ago)
- Last Synced: 2024-12-24T01:23:58.642Z (10 days ago)
- Topics: adot-auto-instrumentation, auto-instrumentation, aws, aws-adot, aws-cdk, aws-distro-for-opentelemetry, aws-lambda, cdk, faas, lambda, node-lambda, opentelemetry, otel, otel-auto-instrumentation, otel-instrumentation, zero-code-instrumentation
- Language: TypeScript
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdk-aws-lambda-otel-auto-instrumentation
CDK app that demonstrates OpenTelemetry [zero-code instrumentation](https://opentelemetry.io/docs/concepts/instrumentation/zero-code/) in AWS Lambda using Node.js runtime. It uses [ADOT Lambda layer](https://github.com/aws-observability/aws-otel-lambda) for sending trace data to Honeycomb.
### Alternative Apps
- [cdk-aws-lambda-otel-code-instrumentation](https://github.com/garysassano/cdk-aws-lambda-otel-code-instrumentation) - Uses OpenTelemetry code instrumentation instead of auto.
## Prerequisites
- **_AWS:_**
- Must have authenticated with [Default Credentials](https://docs.aws.amazon.com/cdk/v2/guide/cli.html#cli_auth) in your local environment.
- Must have completed the [CDK bootstrapping](https://docs.aws.amazon.com/cdk/v2/guide/bootstrapping.html) for the target AWS environment.
- **_Honeycomb:_**
- Must have set the `HONEYCOMB_API_KEY` variable in your local environment.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.## Installation
```sh
npx projen install
```## Deployment
```sh
npx projen deploy
```## Cleanup
```sh
npx projen destroy
```