New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-lambda-powertools/metrics

Package Overview
Dependencies
Maintainers
9
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-lambda-powertools/metrics - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

lib/Metrics.d.ts

@@ -142,3 +142,3 @@ import { MetricsInterface } from '.';

*
* const metrics = new Metrics({namespace:"CDKExample", serviceName:"withDecorator"});
* const metrics = new Metrics({namespace:"CdkExample", serviceName:"withDecorator"});
*

@@ -169,3 +169,3 @@ * export class MyFunctionWithDecorator {

*
* const metrics = new Metrics({namespace: "CDKExample", serviceName: "MyFunction"}); // Sets metric namespace, and service as a metric dimension
* const metrics = new Metrics({namespace: "CdkExample", serviceName: "MyFunction"}); // Sets metric namespace, and service as a metric dimension
*

@@ -172,0 +172,0 @@ * export const handler = async (_event: any, _context: any) => {

@@ -186,3 +186,3 @@ "use strict";

*
* const metrics = new Metrics({namespace:"CDKExample", serviceName:"withDecorator"});
* const metrics = new Metrics({namespace:"CdkExample", serviceName:"withDecorator"});
*

@@ -241,3 +241,3 @@ * export class MyFunctionWithDecorator {

*
* const metrics = new Metrics({namespace: "CDKExample", serviceName: "MyFunction"}); // Sets metric namespace, and service as a metric dimension
* const metrics = new Metrics({namespace: "CdkExample", serviceName: "MyFunction"}); // Sets metric namespace, and service as a metric dimension
*

@@ -244,0 +244,0 @@ * export const handler = async (_event: any, _context: any) => {

{
"name": "@aws-lambda-powertools/metrics",
"version": "0.3.1",
"version": "0.3.2",
"description": "The metrics package for the AWS Lambda powertools (TypeScript) library",

@@ -90,3 +90,3 @@ "author": {

},
"gitHead": "cf435681b01fee5aec40162e3434ab29adf61313"
"gitHead": "be119cb871f68528faa35a80f69be6214a3e93f0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc