Middy 1.x,
The stylish Node.js middleware engine for AWS Lambda
is deprecated
dazn-lambda-power-tools ,
a collection of middy middlewares
use the Middy 1.x version
Middy 2.x provides a cloudwatch-metrics Implementation, see link
This repository is created in order to test the usage of Middy 2.x cloudwatch-metrics Implementation
with chosen middy mniddlewares
from the dazn power tools collection
.
Because of the incompatibility between Middy 2.x
and Middy 1.x
a cloudwatch-metrics Implementation for Middy 1.x
is created, that enables the usage with chosen middlewares from dazn power tools collection
-
v1 : uses
Middy version 1.5.2
and@dazn/lambda-powertools-middleware-correlation-ids
andcloudwatch-metrics Impl. of middy version 2.0.1
-
v2 : uses
Middy version 2.0.1
and@dazn/lambda-powertools-middleware-correlation-ids
andcloudwatch-metrics Impl. of middy version 2.0.1
-
v1-cloudwatchMetrics : uses
Middy version 1.5.2
and@dazn/lambda-powertools-middleware-correlation-ids
and created cloudwatch-metrics.js compatible withMiddy version 1.5.2
Follows almost the implementation of middy 2.x cloudwatch-metrics . Almost by respecting the interface spec. of middy 1.x.
Depends on:aws-embedded-metrics