You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/12/31 02:37:27 UTC
[skywalking-nodejs] 01/01: Go to next version
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch next/version
in repository https://gitbox.apache.org/repos/asf/skywalking-nodejs.git
commit 1a00b9e9a687c38fd20b5d018d323a2db42d93e5
Author: kezhenxu94 <ke...@apache.org>
AuthorDate: Thu Dec 31 10:37:13 2020 +0800
Go to next version
---
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",