1 | Introduction
|
2 | ===
|
3 |
|
4 | Cavisson Netjsagent is a part of Netdaignostics Enterprise (NDE),it is a comprehensive Application Performance Management (APM) solution for real-time monitoring, diagnostics and management of distributed processing in your application environment using state of art technologies with minimal overhead. Leading Fortune 500 brands rely on NDE to avert risks, reduce revenue loss, and improve customer loyalty by enabling proactive monitoring and real-time diagnosis of application performance issues.
|
5 |
|
6 | Why Netjsagent?
|
7 | NDE provides simple and intuitive view of live application traffic and all contextual analysis germane to the monitoring and diagnostics. Following makes NDE, the most advanced APM offering:
|
8 |
|
9 | End-to-end business transaction-centric monitoring and diagnostics
|
10 | Comprehensive system level as well as service level monitoring
|
11 | Deep diagnostics up to code / method level root cause analysis
|
12 | Powerful dashboard features with an exclusive executive dashboard for business KPI monitoring
|
13 | Big-data analytics, analyze millions of metrics, focus on those which matter
|
14 |
|
15 | Installing the Node.js agent
|
16 | --
|
17 | You can install the latest version by typing the following command from the root directory of the Node.js application that you are instrumenting:
|
18 |
|
19 | ```sh
|
20 | npm install netjsagent
|
21 | ```
|
22 |
|
23 | If you know which specific version of the Node.js agent you want to install, you can specify it:
|
24 |
|
25 | ```sh
|
26 | npm install netjsagent@<version>
|
27 | ```
|
28 | Then paste the following in your application as the very first line of your application source code, before any other require statement,you can get the main file of application from package.json:
|
29 |
|
30 | ```sh
|
31 | require("netjsagent").instrument()
|
32 | ```
|
33 | Now create a new file <ndsettings.conf> in the root directory of Node.js application:
|
34 |
|
35 | ```sh
|
36 | tier=NodeJS
|
37 |
|
38 | server=Mew
|
39 |
|
40 | instance=CAV-NODE
|
41 |
|
42 | ndcHost=localhost
|
43 |
|
44 | ndcPort=7892
|
45 |
|
46 | #eventLoopMonitor=1
|
47 |
|
48 | #gcProfiler=1
|
49 |
|
50 | #dynamicThreshold=false
|
51 |
|
52 | #Mode=shared
|
53 | ```
|
54 |
|
55 | .
|