You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by zh...@apache.org on 2020/12/24 09:30:26 UTC

[skywalking] branch master updated: Add JavaScript component id (#6075)

This is an automated email from the ASF dual-hosted git repository.

zhangwei24 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 04b536b  Add JavaScript component id (#6075)
04b536b is described below

commit 04b536b796a96000351d20cf657e933dee1a493e
Author: Qiuxia Fan <fi...@outlook.com>
AuthorDate: Thu Dec 24 17:29:57 2020 +0800

    Add JavaScript component id (#6075)
---
 CHANGES.md                                                       | 1 +
 .../server-bootstrap/src/main/resources/component-libraries.yml  | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/CHANGES.md b/CHANGES.md
index 33a9b2b..8a3a83d 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -37,6 +37,7 @@ Release Notes.
 * Add component ID for Python pyramid plugin server.
 * Add component ID for NodeJS Axios plugin.
 * Fix searchService method error in storage-influxdb-plugin.
+* Add JavaScript component ID.
 
 #### UI
 * Fix un-removed tags in trace query.
diff --git a/oap-server/server-bootstrap/src/main/resources/component-libraries.yml b/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
index 836e830..51cd0c4 100755
--- a/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
+++ b/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
@@ -513,6 +513,15 @@ EnvoyProxy:
   id: 9000
   languages: C++
 
+# Javascript components
+# [10000, 11000) for Javascript agent
+JavaScript:
+  id: 10000
+  languages: JavaScript
+ajax:
+  id: 10001
+  languages: JavaScript
+
 # Component Server mapping defines the server display names of some components
 # e.g.
 # Jedis is a client library in Java for Redis server