https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-cwl
CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using CloudWatch Logs and Lambda
https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-cwl
aws aws-cdk cdk cloudwatch-logs cw-logs lambda opentelemetry otel otlp serverless
Last synced: 3 months ago
JSON representation
CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using CloudWatch Logs and Lambda
- Host: GitHub
- URL: https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-cwl
- Owner: garysassano
- License: apache-2.0
- Created: 2024-11-23T03:39:36.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-05-17T18:41:10.000Z (5 months ago)
- Last Synced: 2025-05-17T19:33:42.842Z (5 months ago)
- Topics: aws, aws-cdk, cdk, cloudwatch-logs, cw-logs, lambda, opentelemetry, otel, otlp, serverless
- Language: Rust
- Homepage:
- Size: 354 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cdk-aws-serverless-otlp-forwarder-cwl
CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using CloudWatch Logs and Lambda.
### Related Apps
- [cdk-aws-serverless-otlp-forwarder-kinesis](https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-kinesis) - Uses Kinesis Data Streams as OTLP transport layer instead of CloudWatch Logs.
- [cdk-aws-serverless-otlp-ch-forwarder-cwl](https://github.com/garysassano/cdk-aws-serverless-otlp-ch-forwarder-cwl) - Sends traces to ClickHouse instead of an OTel-compatible vendor.
- [cdk-aws-serverless-otlp-ch-forwarder-kinesis](https://github.com/garysassano/cdk-aws-serverless-otlp-ch-forwarder-kinesis) - Sends traces to ClickHouse instead of an OTel-compatible vendor; uses Kinesis Data Streams as OTLP transport layer instead of CloudWatch Logs.
## 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.
- **_OTel Vendor:_**
- Must have set the `OTEL_EXPORTER_OTLP_ENDPOINT` and `OTEL_EXPORTER_OTLP_HEADERS` variables in your local environment.
- **_Node.js + npm:_**
- Must be [installed](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) in your system.
- **_Docker:_**
- Must be [installed](https://docs.docker.com/get-docker/) in your system and running at deployment.## Installation
```sh
npx projen install
```## Deployment
```sh
npx projen deploy
```## Cleanup
```sh
npx projen destroy
```## Application Diagram

## Observability Diagram
