An open API service indexing awesome lists of open source software.

https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-kinesis

CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using Kinesis Data Streams and Lambda
https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-kinesis

aws aws-cdk cdk kinesis kinesis-data-streams lambda opentelemetry otel otlp serverless

Last synced: 10 days ago
JSON representation

CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using Kinesis Data Streams and Lambda

Awesome Lists containing this project

README

        

# cdk-aws-serverless-otlp-forwarder-kinesis

CDK app showcasing a serverless approach to send OpenTelemetry traces to any OTel-compatible vendor using Kinesis Data Streams and Lambda.

### Related Apps

- [cdk-aws-serverless-otlp-forwarder-cwl](https://github.com/garysassano/cdk-aws-serverless-otlp-forwarder-cwl) - Uses CloudWatch Logs as the transport layer for traces instead of Kinesis Data Streams.

## 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

![Application Diagram](./src/assets/app-diagram.svg)

## Observability Diagram

![Observability Diagram](./src/assets/o11y-diagram.svg)