@aws-lambda-powertools/metrics
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -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" | ||
} |