[{"data":1,"prerenderedAt":29},["ShallowReactive",2],{"snippet-cloudwatch-insight-lambda-total-innvocations-vs-coldstarts":3},{"id":4,"title":5,"contributors":6,"description":9,"extension":10,"gitHub":11,"introBox":14,"languages":18,"meta":19,"resources":18,"services":20,"snippets":22,"stem":26,"tags":18,"type":27,"__hash__":28},"snippets\u002Fsnippets\u002Fcloudwatch-insight-lambda-total-innvocations-vs-coldstarts.json","Total Lambda Invocations vs Coldstarts",[7,8],"content\u002Fcontributors\u002Fdavid-boyne.json","content\u002Fcontributors\u002Fchristopher-osborn.json","Returns the total number of invocations and the number of cold starts side by side","json",{"template":12},{"repoURL":13},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-snippets\u002Ftree\u002Fmain\u002Fcloudwatch-insight-lambda-total-innvocations-vs-coldstarts",{"headline":15,"text":16},"How it works",[17],"Cloudwatch Log Insights snippet that returns a report for the total number of innvocations along side the total number of cold starts",null,{},[21],"lambda-event-functions",[23],{"language":24,"code":25},"css","filter @type = \"REPORT\" |\nstats count() as TotalInvocations, count(@initDuration) as TotalColdStarts","snippets\u002Fcloudwatch-insight-lambda-total-innvocations-vs-coldstarts","CloudWatch Logs Insights","UWEeB7D8JH7X3-JTyTyujmZvljBzZnV-PMP31d1ykV4",1792665262901]