@newrelic/aws-sdk
Advanced tools
Comparing version 0.1.0 to 0.2.0
### 0.2.0 (2019-02-19): | ||
* Added instrumentation for SNS `publish` API. | ||
* Added instrumentation for SQS `sendMessage`, `sendMessageBatch` and | ||
`receiveMessageBatch` APIs. | ||
### 0.1.0 (2019-02-13): | ||
@@ -15,1 +23,3 @@ | ||
* SES | ||
* Added instrumentation for DynamoDB. |
@@ -23,3 +23,3 @@ 'use strict' | ||
shim.setDatastore('DynamoDB') | ||
shim.setDatastore(shim.DYNAMODB) | ||
@@ -26,0 +26,0 @@ shim.recordOperation( |
@@ -5,3 +5,5 @@ 'use strict' | ||
require('./core'), | ||
require('./dynamodb') | ||
require('./dynamodb'), | ||
require('./sqs'), | ||
require('./sns') | ||
] | ||
@@ -8,0 +10,0 @@ |
{ | ||
"name": "@newrelic/aws-sdk", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "New Relic instrumentation of the aws-sdk package.", | ||
@@ -24,2 +24,3 @@ "main": "index.js", | ||
"async": "^2.6.1", | ||
"aws-sdk": "^2.403.0", | ||
"eslint": "^5.12.1", | ||
@@ -26,0 +27,0 @@ "newrelic": "^5.3.0", |
'use strict' | ||
const EXTERN_PATTERN = /^External\/.*?amazonaws\.com/ | ||
const SQS_PATTERN = /^MessageBroker\/SQS\/Queue/ | ||
const SEGMENT_DESTINATION = 0x20 | ||
@@ -28,2 +29,3 @@ | ||
EXTERN_PATTERN, | ||
SQS_PATTERN, | ||
SEGMENT_DESTINATION, | ||
@@ -30,0 +32,0 @@ |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
60907
27
913
0
7
2