@middy/cloudwatch-metrics
Advanced tools
Comparing version 5.0.2 to 5.0.3
@@ -10,7 +10,5 @@ import awsEmbeddedMetrics from 'aws-embedded-metrics'; | ||
const metrics = awsEmbeddedMetrics.createMetricsLogger(); | ||
// If not set, defaults to aws-embedded-metrics | ||
if (namespace) { | ||
metrics.setNamespace(namespace); | ||
} | ||
// If not set, keeps defaults as defined here https://github.com/awslabs/aws-embedded-metrics-node/#configuration | ||
if (dimensions) { | ||
@@ -17,0 +15,0 @@ metrics.setDimensions(dimensions); |
{ | ||
"name": "@middy/cloudwatch-metrics", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"description": "Embedded CloudWatch metrics middleware for the middy framework", | ||
@@ -69,6 +69,6 @@ "type": "module", | ||
"devDependencies": { | ||
"@middy/core": "5.0.2", | ||
"@middy/core": "5.0.3", | ||
"@types/aws-lambda": "^8.10.101" | ||
}, | ||
"gitHead": "6d17e155237022f2a0abd095ac7cd99ebfc7fc71" | ||
"gitHead": "87660575a7ac2b52e4153c407a4c63c9449dcd0d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7146
49