README.md 1.5 KB
Newer Older
wu-sheng's avatar
wu-sheng 已提交
1
# SkyWalking Node.js
X
Xin,Zhang 已提交
2 3 4

<img src="https://skywalkingtest.github.io/page-resources/3.0/skywalking.png" alt="Sky Walking logo" height="90px" align="right" />

wu-sheng's avatar
wu-sheng 已提交
5
SkyWalking Node.js is the Node.js instrumentation agent, which is compatible with [Apache SkyWalking(Incubating) APM](https://github.com/apache/incubator-skywalking) backend and others compatible agents/SDKs.
X
Xin,Zhang 已提交
6 7 8

[![Build Status](https://travis-ci.org/OpenSkywalking/skywalking-nodejs.svg?branch=master)](https://travis-ci.org/OpenSkywalking/skywalking-nodejs)

X
Xin,Zhang 已提交
9 10 11 12
## Quick Start

### Installation
Add the skywalking-nodejs module as a dependency to your application:
X
Xin,Zhang 已提交
13
> npm install skywalking-nodejs@latest --save
X
Xin,Zhang 已提交
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

### Initialization
It’s important that the agent is started before you require any other modules in your Node.js application. and you should
require and start the agent in your application’s main file.

```javascript
require('skywalking-nodejs').start({
    // Application code is showed in sky-walking-ui. Suggestion: set an unique name for each application, one
    // application's nodes share the same code.
    // this value cannot be empty.
    applicationCode: 'test',
    // Collector agent_gRPC/grpc service addresses.
    // default value: localhost:11800
    directServers: 'localhost:11800'
});
```

X
Xin,Zhang 已提交
31 32 33 34
## Support List
1. Http
2. Mysql

wu-sheng's avatar
wu-sheng 已提交
35 36 37 38 39
# Contact Us
* Submit an issue
* Mail list: dev@skywalking.apache.org
* [Gitter](https://gitter.im/openskywalking/Lobby)
* QQ Group: 392443393
X
Xin,Zhang 已提交
40 41 42

## License
[Apache 2.0](LICENSE.md)