serverless-plugin-datadog
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -10,3 +10,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
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,2 +19,9 @@ 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 }); | ||
@@ -40,0 +28,0 @@ const layers = __importStar(require("./layers.json")); |
"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) { |
@@ -5,4 +5,4 @@ { | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python27:19", | ||
@@ -15,4 +15,4 @@ "python3.6": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -25,4 +25,4 @@ "python3.6": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -35,4 +35,4 @@ "python3.6": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python27:19", | ||
@@ -44,4 +44,4 @@ "python3.6": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python36:19", | ||
"ap-east-1": { | ||
"nodejs10.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node10-x:25", | ||
"nodejs12.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -54,4 +54,4 @@ "python3.6": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python36:19", | ||
"nodejs8.10": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node10-x:25", | ||
"nodejs12.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -64,4 +64,4 @@ "python3.6": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python36:19", | ||
"nodejs8.10": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node10-x:25", | ||
"nodejs12.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python27:19", | ||
@@ -74,4 +74,4 @@ "python3.6": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -84,4 +84,4 @@ "python3.6": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python27:19", | ||
@@ -94,4 +94,4 @@ "python3.6": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python36:19", | ||
"nodejs8.10": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node10-x:25", | ||
"nodejs12.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -104,4 +104,4 @@ "python3.6": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python36:19", | ||
"nodejs8.10": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node10-x:25", | ||
"nodejs12.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -114,4 +114,4 @@ "python3.6": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -124,4 +124,4 @@ "python3.6": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python36:19", | ||
"nodejs8.10": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node8-10:18", | ||
"nodejs10.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node10-x:25", | ||
"nodejs12.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -134,4 +134,4 @@ "python3.6": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -144,4 +144,4 @@ "python3.6": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python27:19", | ||
@@ -154,4 +154,4 @@ "python3.6": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python27:19", | ||
@@ -164,4 +164,4 @@ "python3.6": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python36:19", | ||
"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:25", | ||
"nodejs12.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node12-x:25", | ||
"nodejs10.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node10-x:26", | ||
"nodejs12.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node12-x:26", | ||
"python2.7": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python27:19", | ||
@@ -168,0 +168,0 @@ "python3.6": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python36:19", |
@@ -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.0.0", | ||
"version": "2.1.0", | ||
"description": "Serverless plugin to automatically instrument python and node functions with datadog tracing", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
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
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
68667
690