Public | Automated Build

Last pushed: a year ago
Short Description
Scheduler Profiler Tool for Transwarp Inceptor (SQL Engine).
Full Description

SProfiler

A realtime profiling tool for monitoring Transwarp Inceptor performance.

Prerequirements

Source Mode

A native way is cloning source code of SProfiler which sits on NodeJS and MongoDB. Here is a showcase with Ubuntu 16.04 LTS.

  • Install MongoDB as the storage backend. Leave the default admin user with NO password (authentication added in future).
sudo apt install -y mongodb-server mongodb-client
  • Install node.js and npm
sudo apt install -y nodejs nodejs-legacy npm
  • Clone project source code and deploy on local port 5050 (configured in [projroot]/common/config.js).
git clone git@github.com:caesar0301/sprofiler.git
npm install --production
npm start

Done!

Docker Mode

This is the most convenient way to deploy SProfiler. As a prerequirement, you need a docker env. ready. See official doc about HOWTOs.

  • Pull image mongo and run without password.
docker pull mongo
docker run -d -p 27017:27017 -p 28017:28017 -e AUTH=no --name mongodb mongo
  • Pull image of sprofiler and start the service
docker pull caesar0301/sprofiler
docker run -d -p 5050:5050 --link mongodb:mongo caesar0301/sprofiler
Docker Pull Command
Owner
caesar0301
Source Repository

Comments (0)