File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -279,8 +279,7 @@ class Metrics extends Utility implements MetricsInterface {
279
279
* By default, metrics are buffered and flushed when calling {@link Metrics.publishStoredMetrics | `publishStoredMetrics()`} method,
280
280
* or at the end of the handler function when using the {@link Metrics.logMetrics | `logMetrics()`} decorator or the Middy.js middleware.
281
281
*
282
- * Metrics are emitted to standard output in the Amazon CloudWatch EMF (Embedded Metric Format) schema. In AWS Lambda, the logs are
283
- * automatically picked up by CloudWatch logs and processed asynchronously.
282
+ * Metrics are emitted to standard output in the Amazon CloudWatch EMF (Embedded Metric Format) schema.
284
283
*
285
284
* You can add a metric by specifying the metric name, unit, and value. For convenience,
286
285
* we provide a set of constants for the most common units in the {@link MetricUnits | MetricUnit} dictionary object.
@@ -887,7 +886,7 @@ class Metrics extends Utility implements MetricsInterface {
887
886
* Store a metric in the buffer.
888
887
*
889
888
* If the buffer is full, or the metric reaches the maximum number of values,
890
- * the metrics are published .
889
+ * the metrics are flushed to stdout .
891
890
*
892
891
* @param name - The name of the metric to store
893
892
* @param unit - The unit of the metric to store
You can’t perform that action at this time.
0 commit comments