UNPKG

1.96 kBMarkdownView Raw
1Introduction
2===
3
4Cavisson 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
6Why Netjsagent?
7NDE 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
15Installing the Node.js agent
16--
17You 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
20npm install netjsagent
21```
22
23If you know which specific version of the Node.js agent you want to install, you can specify it:
24
25```sh
26npm install netjsagent@<version>
27```
28Then 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
31require("netjsagent").instrument()
32```
33Now create a new file <ndsettings.conf> in the root directory of Node.js application:
34
35```sh
36tier=NodeJS
37
38server=Mew
39
40instance=CAV-NODE
41
42ndcHost=localhost
43
44ndcPort=7892
45
46#eventLoopMonitor=1
47
48#gcProfiler=1
49
50#dynamicThreshold=false
51
52#Mode=shared
53```
54
55.