Optional
captureColdStartMetric?: booleanWhether to capture a ColdStart
metric.
Optional
defaultDimensions?: DimensionsDefault dimensions to add to all metrics.
Optional
throwOnEmptyMetrics?: booleanWhether to throw an error if no metrics are emitted.
Options to customize the behavior of the
logMetrics()
decorator or Middy.js middleware.