You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/12/31 03:34:55 UTC
[skywalking-nodejs] branch master updated: Go to next version (#18)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-nodejs.git
The following commit(s) were added to refs/heads/master by this push:
new 5c9e3ed Go to next version (#18)
5c9e3ed is described below
commit 5c9e3edd8053dbdf835674a6ee0cf1457067bf7e
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Thu Dec 31 11:34:49 2020 +0800
Go to next version (#18)
---
README.md | 10 ++++++++--
package.json | 4 ++--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index bcb42e3..25ce781 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
<img src="http://skywalking.apache.org/assets/logo.svg" alt="Sky Walking logo" height="90px" align="right" />
-**SkyWalking-NodeJS**: The NodeJS Agent for Apache SkyWalking, which provides the native tracing abilities for NodeJS project.
+**SkyWalking-NodeJS**: The NodeJS Agent for Apache SkyWalking, which provides the native tracing abilities for NodeJS backend project.
**SkyWalking**: an APM(application performance monitor) system, especially designed for
microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
@@ -13,12 +13,18 @@ microservices, cloud native and container-based (Docker, Kubernetes, Mesos) arch
[![Build](https://github.com/apache/skywalking-nodejs/workflows/Build/badge.svg?branch=master)](https://github.com/apache/skywalking-nodejs/actions?query=branch%3Amaster+event%3Apush+workflow%3A%22Build%22)
+## Install SkyWalking NodeJS package from npmjs
+
+```bash
+$ npm install --save skywalking-backend-js
+```
+
## Set up NodeJS Agent
SkyWalking NodeJS SDK requires SkyWalking backend (OAP) 8.0+ and NodeJS >= 10.
```typescript
-import agent from 'skywalking';
+import agent from 'skywalking-backend-js';
agent.start();
```
diff --git a/package.json b/package.json
index c81aaa2..c56cc22 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
- "name": "skywalking",
- "version": "0.1.0",
+ "name": "skywalking-backend-js",
+ "version": "0.2.0",
"description": "The NodeJS agent for Apache SkyWalking",
"homepage": "skywalking.apache.org",
"main": "lib/index.js",