Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-xray-sdk-postgres

Package Overview
Dependencies
Maintainers
15
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-xray-sdk-postgres - npm Package Compare versions

Comparing version 3.0.0-alpha.2 to 3.0.0

10

package.json
{
"name": "aws-xray-sdk-postgres",
"version": "3.0.0-alpha.2",
"version": "3.0.0",
"description": "AWS X-Ray Patcher for Postgres (Javascript)",

@@ -12,3 +12,3 @@ "author": "Amazon Web Services",

"engines": {
"node": ">= 4.x"
"node": ">= 10.x"
},

@@ -22,6 +22,6 @@ "directories": {

"peerDependencies": {
"aws-xray-sdk-core": "^3.0.0-alpha.2"
"aws-xray-sdk-core": "^3.0.0"
},
"devDependencies": {
"aws-xray-sdk-core": "^3.0.0-alpha.2",
"aws-xray-sdk-core": "^3.0.0",
"chai": "^3.5.0",

@@ -53,3 +53,3 @@ "eslint": "^4.19.1",

"repository": "https://github.com/aws/aws-xray-sdk-node/tree/master/packages/postgres",
"gitHead": "77a4358f9e40e4666b764e2753ec55a929e09297"
"gitHead": "bfbc97d88f8452a288dc6396c9cc0f9cffcf45fd"
}
## Requirements
AWS X-Ray SDK Core
Postgres 6.1.0 or greater
* AWS X-Ray SDK Core
* Postgres 6.1.0 or greater

@@ -13,3 +13,3 @@ ## AWS X-Ray and Postgres

The AWS X-Ray SDK Core has two modes - `manual` and `automatic`.
Automatic mode uses the Continuation Local Storage package (CLS) and automatically
Automatic mode uses the `cls-hooked` package and automatically
tracks the current segment and subsegment. This is the default mode.

@@ -23,2 +23,12 @@ Manual mode requires that you pass around the segment reference. See the examples below.

### Lambda Example
var AWSXRay = require('aws-xray-sdk');
var pg = AWSXRay.capturePostgres(require('pg'));
...
exports.handler = function (event, context, callback) {
// Make postgres queries normally
}
### Automatic mode example

@@ -25,0 +35,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc