diff --git a/packages/metrics/src/Metrics.ts b/packages/metrics/src/Metrics.ts index 2c4696aca..43224cf7d 100644 --- a/packages/metrics/src/Metrics.ts +++ b/packages/metrics/src/Metrics.ts @@ -455,6 +455,7 @@ class Metrics extends Utility implements MetricsInterface { return Object.keys(this.storedMetrics).length > 0; } + /** * A class method decorator to automatically log metrics after the method returns or throws an error. * * The decorator can be used with TypeScript classes and can be configured to optionally capture a `ColdStart` metric (see {@link Metrics.captureColdStartMetric | `captureColdStartMetric()`}),