You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by wu...@apache.org on 2018/08/21 04:12:32 UTC
[incubator-skywalking] branch 6.0 updated (03af5f1 -> e3c6a4b)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a change to branch 6.0
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git.
from 03af5f1 Support m2 cache in CI.
new 7c2aa4c FIX NPE in tomcat plugin ForwardInterceptor (#1562)
new e3c6a4b add components for nodejs agent (#1565)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apm-collector-boot/src/main/resources/component-libraries.yml | 6 ++++++
.../apache/skywalking/apm/plugin/tomcat78x/ForwardInterceptor.java | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
[incubator-skywalking] 01/02: FIX NPE in tomcat plugin
ForwardInterceptor (#1562)
Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch 6.0
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
commit 7c2aa4c43a01964dd4d15a55c281ce720e0e4af0
Author: caoyixiong <32...@users.noreply.github.com>
AuthorDate: Tue Aug 21 07:18:40 2018 +0800
FIX NPE in tomcat plugin ForwardInterceptor (#1562)
---
.../org/apache/skywalking/apm/plugin/tomcat78x/ForwardInterceptor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apm-sniffer/apm-sdk-plugin/tomcat-7.x-8.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/tomcat78x/ForwardInterceptor.java b/apm-sniffer/apm-sdk-plugin/tomcat-7.x-8.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/tomcat78x/ForwardInterceptor.java
index f7b255a..68416c7 100644
--- a/apm-sniffer/apm-sdk-plugin/tomcat-7.x-8.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/tomcat78x/ForwardInterceptor.java
+++ b/apm-sniffer/apm-sdk-plugin/tomcat-7.x-8.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/tomcat78x/ForwardInterceptor.java
@@ -37,7 +37,7 @@ public class ForwardInterceptor implements InstanceMethodsAroundInterceptor, Ins
if (ContextManager.isActive()) {
AbstractSpan abstractTracingSpan = ContextManager.activeSpan();
Map<String, String> eventMap = new HashMap<String, String>();
- eventMap.put("forward-url", (String)objInst.getSkyWalkingDynamicField());
+ eventMap.put("forward-url", objInst.getSkyWalkingDynamicField() == null ? "" : String.valueOf(objInst.getSkyWalkingDynamicField()));
abstractTracingSpan.log(System.currentTimeMillis(), eventMap);
ContextManager.getRuntimeContext().put(Constants.FORWARD_REQUEST_FLAG, true);
}
[incubator-skywalking] 02/02: add components for nodejs agent
(#1565)
Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch 6.0
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
commit e3c6a4b1b17c62ac92e6f0c6d07d4fbd3e5c10f6
Author: Xin,Zhang <zh...@apache.org>
AuthorDate: Tue Aug 21 10:09:49 2018 +0800
add components for nodejs agent (#1565)
* Add egg component
* add koa component
---
.../apm-collector-boot/src/main/resources/component-libraries.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/apm-collector/apm-collector-boot/src/main/resources/component-libraries.yml b/apm-collector/apm-collector-boot/src/main/resources/component-libraries.yml
index 3fc6be5..141918f 100644
--- a/apm-collector/apm-collector-boot/src/main/resources/component-libraries.yml
+++ b/apm-collector/apm-collector-boot/src/main/resources/component-libraries.yml
@@ -221,6 +221,12 @@ HttpServer:
express:
id: 4002
languages: Node.js
+Egg:
+ id: 4003
+ languages: Node.js
+Koa:
+ id: 4004
+ languages: Node.js
# Component Server mapping defines the server display names of some components
# e.g.