Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/restyled-io/record-metrics-lambda

Forward API metrics to CloudWatch
https://github.com/restyled-io/record-metrics-lambda

Last synced: 10 days ago
JSON representation

Forward API metrics to CloudWatch

Awesome Lists containing this project

README

        

# Record Metrics

Queries our current queue depth in Redis and puts it as a CloudWatch metric,
so we can implement auto-scaling by it..

## Development

```console
just venv # once
. .venv/bin/activate # every shell
```

## Tests

```console
just test
```

## Deployment

Merges to `main` result in a new Lambda bundle being placed on S3 and then
an automated commit into our IaC repository, `restyled-io/ops` that will
re-deploy the Lambda with it as source.

---

[LICENSE](./LICENSE.md)