Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tiagodanin/psql-statsshow

Web Monitoring PostgreSQL- Tracking execution statistics of all SQL statements executed by a server.
https://github.com/tiagodanin/psql-statsshow

admin-dashboard monitor monitoring-server performance performance-analysis postgres postgresql server-monitor server-monitoring sql stat statements statistics stats

Last synced: 3 months ago
JSON representation

Web Monitoring PostgreSQL- Tracking execution statistics of all SQL statements executed by a server.

Awesome Lists containing this project

README

        

# PSQL StatsShow

[![Travis](https://img.shields.io/travis/TiagoDanin/PSQL-StatsShow.svg?branch=master&style=flat-square)](https://travis-ci.org/TiagoDanin/PSQL-StatsShow) [![Downloads](https://img.shields.io/npm/dt/psqlstatsshow.svg?style=flat-square)](https://npmjs.org/package/psqlstatsshow) [![Node](https://img.shields.io/node/v/psqlstatsshow.svg?style=flat-square)](https://npmjs.org/package/psqlstatsshow) [![Version](https://img.shields.io/npm/v/psqlstatsshow.svg?style=flat-square)](https://npmjs.org/package/psqlstatsshow) [![XO code style](https://img.shields.io/badge/code%20style-XO-red.svg?style=flat-square)](https://github.com/xojs/xo)

Web Monitoring PostgreSQL- Tracking execution statistics of all SQL statements executed by a server.

## Installation

Module available through the [npm registry](https://www.npmjs.com/). It can be installed using the [`npm`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) or [`yarn`](https://yarnpkg.com/en/) command line tools.

```sh
# NPM
npm install psqlstatsshow --global
# Or Using Yarn
yarn global add psqlstatsshow
```

## Usage

```sh
# Start (enabled https://www.postgresql.org/docs/11/pgstatstatements.html)
psqlstatsshow --password=12345
```

## Tests

To run the test suite, first install the dependencies, then run `test`:

```sh
# NPM
npm test
# Or Using Yarn
yarn test
```

## Dependencies

body-parser: Node.js body parsing middleware
Author: dougwilson
License: MIT
Version: ^1.19.0

cookie-session: cookie session middleware
Author: fishrock123, tjholowaychuk, dougwilson, jongleberry, defunctzombie
License: MIT
Version: ^2.0.0-beta.3

express: Fast, unopinionated, minimalist web framework
Author: TJ Holowaychuk
License: MIT
Version: ^4.17.1

express-handlebars: A Handlebars view engine for Express which doesn't suck.
Author: Eric Ferraiuolo
License: BSD-3-Clause
Version: 3.1.0

handlebars-helpers: More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate, Verb, Ghost, gulp-handlebars, grunt-handlebars, consolidate, or any node.js/Handlebars project.
Author: Jon Schlinkert
License: MIT
Version: ^0.10.0

minimist: parse argument options
Author: James Halliday
License: MIT
Version: ^1.2.0

pg: PostgreSQL client - pure javascript & libpq with the same API
Author: Brian Carlson
License: MIT
Version: 7.14.0

pg-native: A slightly nicer interface to Postgres over node-libpq
Author: Brian M. Carlson
License: MIT
Version: 3.0.0

uikit: UIkit is a lightweight and modular front-end framework for developing fast and powerful web interfaces.
Author: aheinze, janschoenherr, saschadube
License: MIT
Version: ^3.1.6

## Dev Dependencies

nodemon: Simple monitor script for use during development of a node.js app.
Author: Remy Sharp
License: MIT
Version: ^2.0.1

reload: Node.js module to refresh and reload your code in your browser when your code changes. No browser plugins required.
Author: JP Richardson
License: MIT
Version: ^3.0.3

xo: JavaScript linter with great defaults
Author: Sindre Sorhus
License: MIT
Version: 0.25.3

## Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please [create an issue](https://github.com/TiagoDanin/PSQL-StatsShow/issues). [List of all contributors](https://github.com/TiagoDanin/PSQL-StatsShow/graphs/contributors).

## License

[MIT](LICENSE) © [Tiago Danin](https://TiagoDanin.github.io)