CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using Kinesis Data Streams and Lambda.
-
cdk-aws-serverless-otlp-forwarder-cwl - Uses CloudWatch Logs as OTLP transport layer instead of Kinesis Data Streams.
-
cdk-aws-serverless-otlp-ch-forwarder-kinesis - Sends traces to ClickHouse instead of an OTel-compatible vendor.
-
cdk-aws-serverless-otlp-ch-forwarder-cwl - Sends traces to ClickHouse instead of an OTel-compatible vendor; uses CloudWatch Logs as OTLP transport layer instead of Kinesis Data Streams.
- AWS:
- Must have authenticated with Default Credentials in your local environment.
- Must have completed the CDK bootstrapping for the target AWS environment.
- OTel Vendor:
- Must have set the
OTEL_EXPORTER_OTLP_ENDPOINT
andOTEL_EXPORTER_OTLP_HEADERS
variables in your local environment.
- Must have set the
- Node.js + npm:
- Must be installed in your system.
- Docker:
- Must be installed in your system and running at deployment.
npx projen install
npx projen deploy
npx projen destroy