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

https://github.com/epomatti/aws-timestream

AWS Timestream Sandbox
https://github.com/epomatti/aws-timestream

aws aws-timestream timestream typescript

Last synced: about 2 months ago
JSON representation

AWS Timestream Sandbox

Awesome Lists containing this project

README

          

# aws-timestream

Sandbox for Timestream.

Create the infrastructure:

```sh
terraform init
terraform apply -auto-approve
```

Install dependencies:

```sh
yarn install
```

Run the script to send data to Timestream:

```sh
yarn run app
```

After writing data, connect to the console and run a query:

```sql
SELECT * FROM "timestream-sandbox"."orders" WHERE time between ago(15m) and now() ORDER BY time DESC LIMIT 10
```

#### Clean-up

```sh
terraform destroy -auto-approve
```