From e46bd36f4fdf91eaee93515b79d18f536427f723 Mon Sep 17 00:00:00 2001 From: yaozhaoy <66138407+yaozhaoy@users.noreply.github.com> Date: Mon, 10 Aug 2020 16:51:01 -0700 Subject: [PATCH] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 060cc148..9ce622e5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ Generate CloudWatch Metrics embedded within structured log events. The embedded - **Linking metrics to high cardinality context** Using the Embedded Metric Format, you will be able to visualize and alarm on custom metrics, but also retain the original, detailed and high-cardinality context which is queryable using [CloudWatch Logs Insights](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html). For example, the library automatically injects environment metadata such as Lambda Function version, EC2 instance and image ids into the structured log event data. -Be sure to: ## Usage @@ -79,7 +78,7 @@ Examples: ```java putProperty("RequestId", "422b1569-16f6-4a03-b8f0-fe3fd9b100f8") putProperty("InstanceId", "i-1234567890") -putPproperty("Device", new HashMap() {{ +putProperty("Device", new HashMap() {{ put("Id", "61270781-c6ac-46f1-baf7-22c808af8162"); put("Name", "Transducer"); put("Model", "PT-1234");