From b37875ac7ed60f50658222b9579803d788355142 Mon Sep 17 00:00:00 2001 From: John Levermore Date: Mon, 13 Mar 2023 23:30:27 +0000 Subject: [PATCH] chore: Add warmup Epsagon metric --- src/Wrapper/LambdaWrapper.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Wrapper/LambdaWrapper.js b/src/Wrapper/LambdaWrapper.js index 9e31abbb..4c09b7c4 100644 --- a/src/Wrapper/LambdaWrapper.js +++ b/src/Wrapper/LambdaWrapper.js @@ -92,6 +92,7 @@ export default (configuration, handler, throwError = false) => { // If the event is to trigger a warm up, then don't bother returning the function. if (di.getEvent().source === 'serverless-plugin-warmup') { + logger.metric('warmup', true, true); return callback(null, 'Lambda is warm!'); }