-
Notifications
You must be signed in to change notification settings - Fork 214
Enable rDSN.Monitor for your App
rDSN.Monitor
is more than a dashboard. It's cross-layer profiling and diagnosis tool for developers to grasp the current state of system and improve distributed system performance.
The code is here if interested.
Sample screenshots:
First of all, you need to install rDSN
and Python2.7
.
Then simply download and build rDSN.Python
what is rDSN.Python
?
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.
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
.
Content