Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function addLambdaMetrics(data, match) {
var now = dogapi.now();
data.push({
metric: 'aws.lambda.billed',
points: [
[now, match[1]]
]
});
data.push({
metric: 'aws.lambda.maxmemory',
points: [
[now, match[2]]
]
});
};