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 2018/09/21 23:59:26 UTC

[incubator-skywalking] 01/01: Fix elastic search plugin not work.

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

wusheng pushed a commit to branch es-fix
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git

commit 65749751ec3b71bec925a9f793c9e5388e7e63dc
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sat Sep 22 07:58:02 2018 +0800

    Fix elastic search plugin not work.
---
 .../apache/skywalking/apm/network/trace/component/ComponentsDefine.java | 2 ++
 apm-sniffer/apm-sdk-plugin/elasticsearch-5.x-plugin/pom.xml             | 2 +-
 apm-sniffer/apm-sdk-plugin/pom.xml                                      | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/apm-protocol/apm-network/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java b/apm-protocol/apm-network/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java
index 02a6730..1b5a1c6 100644
--- a/apm-protocol/apm-network/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java
+++ b/apm-protocol/apm-network/src/main/java/org/apache/skywalking/apm/network/trace/component/ComponentsDefine.java
@@ -96,6 +96,8 @@ public class ComponentsDefine {
 
     public static final  OfficialComponent ACTIVEMQ_CONSUMER = new OfficialComponent(46,"activemq-consumer");
 
+    public static final OfficialComponent TRANSPORT_CLIENT =  new OfficialComponent(48, "transport-client");
+
     private static ComponentsDefine INSTANCE = new ComponentsDefine();
 
     private String[] components;
diff --git a/apm-sniffer/apm-sdk-plugin/elasticsearch-5.x-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/elasticsearch-5.x-plugin/pom.xml
index eb672a4..95cedd0 100644
--- a/apm-sniffer/apm-sdk-plugin/elasticsearch-5.x-plugin/pom.xml
+++ b/apm-sniffer/apm-sdk-plugin/elasticsearch-5.x-plugin/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <artifactId>apm-sdk-plugin</artifactId>
         <groupId>org.apache.skywalking</groupId>
-        <version>5.0.0-RC-SNAPSHOT</version>
+        <version>6.0.0-alpha-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/apm-sniffer/apm-sdk-plugin/pom.xml b/apm-sniffer/apm-sdk-plugin/pom.xml
index 62e55d9..e06a22f 100644
--- a/apm-sniffer/apm-sdk-plugin/pom.xml
+++ b/apm-sniffer/apm-sdk-plugin/pom.xml
@@ -58,6 +58,7 @@
         <module>hystrix-1.x-plugin</module>
         <module>sofarpc-plugin</module>
         <module>activemq-5.x-plugin</module>
+        <module>elasticsearch-5.x-plugin</module>
     </modules>
     <packaging>pom</packaging>