0.1.0 • Published 2 years ago

sequelize-inspector v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

sequelize-inspector

Inspect sequelize's connection pool usage and query performance. This library inspects sequelize and shows the info on your express server.

1. Install

npm install sequelize-inspector

2. Use

import SequelizeInspector from 'sequelize-inspector'

// ... setup sequelize and express

SequelizeInspector.init(express, sequelize)

3. Open

Start up your server, open up /sequelize and you'll see this graph.

Each "lane" represents a connection to the database. Rectangles within it are queries and transactions. Hover them to see their details.

screenshot

This is still in early development and is NOT a production feature!