Skip to content

Enable rDSN.Monitor for your App

Chang Lou edited this page Dec 17, 2015 · 8 revisions

What is rDSN.Monitor?

rDSN.Monitor is a profiling, visualization and tool for rDSN. special app that can attach to other apps. It's more than a dashboard. See more at here if interested.

Features include but not limited to:

Main Screen Realtime Screen Vim Screen

Install

  • Download and build rDSN.Python

First of all, you need to install rDSN and Python2.7.

rDSN.Monitor relies on rDSN.Python, the latter one provides the interactions between rDSN and

for Linux Users

git clone https://github.com/rDSN-Projects/rDSN.Python
cd ./rDSN.Python
build.sh

for Windows Users

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" amd64
git clone https://github.com/rDSN-Projects/rDSN.Python
cd .\rDSN.Python
build.cmd

Chances are that nmake reports “cannot find python27_d.lib”, make a replica of “python27.lib” and change name to “python27_d.lib” to work around it.

Configure on single node

Add the following lines in the config.ini of your app:

[apps.monitor]
type = monitor
arguments = 8080
pools = THREAD_POOL_DEFAULT
count = 1
dmodule = dsn.dev.python_helper
dmodule_bridge_arguments = rDSN.monitor\rDSN.Monitor.py

arguments is the port number http server will use.

dmodule_bridge_arguments is the path of rDSN.Monitor.py.

Configure on a cluster