serverless-plugin-datadog
Advanced tools
Comparing version 2.6.3 to 2.7.0
{ | ||
"name": "serverless-plugin-datadog", | ||
"version": "2.6.3", | ||
"version": "2.7.0", | ||
"description": "Serverless plugin to automatically instrument python and node functions with datadog tracing", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -10,3 +10,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.hasWebpackPlugin = exports.forceExcludeDepsFromWebpack = exports.getConfig = exports.setEnvConfiguration = exports.defaultConfiguration = void 0; | ||
const apiKeyEnvVar = "DD_API_KEY"; | ||
@@ -13,0 +12,0 @@ const apiKeyKMSEnvVar = "DD_KMS_API_KEY"; |
@@ -12,3 +12,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.describeSubscriptionFilters = exports.canSubscribeLogGroup = exports.addCloudWatchForwarderSubscriptions = void 0; | ||
const logGroupKey = "AWS::Logs::LogGroup"; | ||
@@ -15,0 +14,0 @@ const logGroupSubscriptionKey = "AWS::Logs::SubscriptionFilter"; |
@@ -9,21 +9,2 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
@@ -38,4 +19,12 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const layers = __importStar(require("./layers.json")); | ||
const govLayers = __importStar(require("./layers-gov.json")); | ||
const package_json_1 = require("../package.json"); | ||
@@ -95,3 +84,4 @@ const env_1 = require("./env"); | ||
this.debugLogHandlers(handlers); | ||
layer_1.applyLayers(this.serverless.service.provider.region, handlers, layers); | ||
const allLayers = { regions: Object.assign(Object.assign({}, layers.regions), govLayers.regions) }; | ||
layer_1.applyLayers(this.serverless.service.provider.region, handlers, allLayers); | ||
if (env_1.hasWebpackPlugin(this.serverless.service)) { | ||
@@ -98,0 +88,0 @@ env_1.forceExcludeDepsFromWebpack(this.serverless.service); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.applyLayers = exports.findHandlers = exports.runtimeLookup = exports.RuntimeType = void 0; | ||
var RuntimeType; | ||
@@ -5,0 +4,0 @@ (function (RuntimeType) { |
{ | ||
"regions": { | ||
"us-east-2": { | ||
"nodejs8.10": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python38:23" | ||
"af-south-1": { | ||
"nodejs10.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"us-east-1": { | ||
"nodejs8.10": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python38:23" | ||
"eu-north-1": { | ||
"nodejs8.10": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"us-west-1": { | ||
"nodejs8.10": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python38:23" | ||
}, | ||
"us-west-2": { | ||
"nodejs8.10": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python38:23" | ||
}, | ||
"ap-east-1": { | ||
"nodejs10.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python38:23" | ||
}, | ||
"ap-south-1": { | ||
@@ -51,7 +24,42 @@ "nodejs8.10": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs12.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python38:23" | ||
"python2.7": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-west-3": { | ||
"nodejs8.10": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-west-2": { | ||
"nodejs8.10": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-south-1": { | ||
"nodejs10.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-west-1": { | ||
"nodejs8.10": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"ap-northeast-2": { | ||
@@ -61,25 +69,15 @@ "nodejs8.10": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs12.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python38:23" | ||
"python2.7": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"ap-southeast-1": { | ||
"nodejs8.10": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python38:23" | ||
"me-south-1": { | ||
"nodejs10.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"ap-southeast-2": { | ||
"nodejs8.10": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python38:23" | ||
}, | ||
"ap-northeast-1": { | ||
@@ -89,7 +87,16 @@ "nodejs8.10": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs12.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python38:23" | ||
"python2.7": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"sa-east-1": { | ||
"nodejs8.10": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node10-x:40", | ||
"nodejs12.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"ca-central-1": { | ||
@@ -99,16 +106,33 @@ "nodejs8.10": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs12.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python38:23" | ||
"python2.7": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-north-1": { | ||
"nodejs8.10": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python38:23" | ||
"ap-east-1": { | ||
"nodejs10.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"ap-southeast-1": { | ||
"nodejs8.10": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"ap-southeast-2": { | ||
"nodejs8.10": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-central-1": { | ||
@@ -118,44 +142,44 @@ "nodejs8.10": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs12.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python38:23" | ||
"python2.7": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-west-1": { | ||
"nodejs8.10": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python38:23" | ||
"us-east-1": { | ||
"nodejs8.10": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-west-2": { | ||
"nodejs8.10": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python38:23" | ||
"us-east-2": { | ||
"nodejs8.10": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"eu-west-3": { | ||
"nodejs8.10": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python38:23" | ||
"us-west-1": { | ||
"nodejs8.10": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python38:24" | ||
}, | ||
"sa-east-1": { | ||
"nodejs8.10": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node10-x:40", | ||
"nodejs12.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python27:23", | ||
"python3.6": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python36:23", | ||
"python3.7": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python37:23", | ||
"python3.8": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python38:23" | ||
"us-west-2": { | ||
"nodejs8.10": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node10-x:39", | ||
"nodejs12.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node12-x:39", | ||
"python2.7": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python27:24", | ||
"python3.6": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python36:24", | ||
"python3.7": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python37:24", | ||
"python3.8": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python38:24" | ||
} | ||
} | ||
} |
@@ -12,3 +12,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.printOutputs = exports.addOutputLinks = void 0; | ||
const yellowFont = "\x1b[33m"; | ||
@@ -15,0 +14,0 @@ const underlineFont = "\x1b[4m"; |
@@ -10,3 +10,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.enableTracing = exports.TracingMode = void 0; | ||
const ddTraceEnabledEnvVar = "DD_TRACE_ENABLED"; | ||
@@ -13,0 +12,0 @@ const ddMergeXrayTracesEnvVar = "DD_MERGE_XRAY_TRACES"; |
@@ -10,3 +10,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.redirectHandlers = exports.jsHandler = exports.jsHandlerWithLayers = exports.pythonHandler = exports.datadogHandlerEnvVar = void 0; | ||
const layer_1 = require("./layer"); | ||
@@ -13,0 +12,0 @@ exports.datadogHandlerEnvVar = "DD_LAMBDA_HANDLER"; |
{ | ||
"name": "serverless-plugin-datadog", | ||
"version": "2.6.3", | ||
"version": "2.7.0", | ||
"description": "Serverless plugin to automatically instrument python and node functions with datadog tracing", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159230
90
1844
2