sequelize-aws-x-ray-mysql2

Sequelize extension for AWS X-Ray (requires mysql2 module)

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
sequelize-aws-x-ray-mysql2
1.0.06 years ago6 years agoMinified + gzip package size for sequelize-aws-x-ray-mysql2 in KB

Readme

sequelize-aws-x-ray-mysql2
The sequelize-aws-x-ray-mysql2 module is a Sequelize extension for AWS X-Ray to capture MySQL queries. This module requires the mysql2 module not the mysql module.

Installation

npm install --save sequelize-aws-x-ray-mysql2

Usage

var Sequelize = require('sequelize');

var db = new Sequelize({
    dialect: 'mysql',
    dialectModulePath: 'sequelize-aws-x-ray-mysql2',
});