metricscloudwatchembedded

The interface is not stable

This is a Minimum Viable Product for feedback, experimentation and iteration

Purpose

Provide a backend for the metrics facade crate, to emit metrics in CloudWatch Embedded Metrics Format

Intended for use with the lambda_runtime, however Collector::flush_to(...) could be used for anything that writes logs that end up in CloudWatch.

How to use

```rust let metrics = metricscloudwatchembedded::Builder::new() .cloudwatch_namespace("MyApplication") .init() .unwrap();

metrics::increment_counter!("requests", "Method" => "Default");

metrics .set_property("RequestId", "ABC123") .flush(); ```

Limitations

Thanks