@middy/cloudwatch-metrics
Advanced tools
Comparing version 4.6.1 to 4.6.2
@@ -10,5 +10,7 @@ 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) { | ||
@@ -15,0 +17,0 @@ metrics.setDimensions(dimensions); |
{ | ||
"name": "@middy/cloudwatch-metrics", | ||
"version": "4.6.1", | ||
"version": "4.6.2", | ||
"description": "Embedded CloudWatch metrics middleware for the middy framework", | ||
@@ -75,6 +75,6 @@ "type": "module", | ||
"devDependencies": { | ||
"@middy/core": "4.6.1", | ||
"@middy/core": "4.6.2", | ||
"@types/aws-lambda": "^8.10.101" | ||
}, | ||
"gitHead": "253ed0e4ca95623decbade03938a07d837a1eba2" | ||
"gitHead": "8b03a01abf5a9c08231ec5ced775e87f8be8f67d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
10584
153