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 2022/05/17 12:43:06 UTC

[skywalking] branch master updated: Fix the problem that MQ has the wrong layer type(#9080) (#9082)

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.git


The following commit(s) were added to refs/heads/master by this push:
     new 68e48811b4 Fix the problem that MQ has the wrong layer type(#9080) (#9082)
68e48811b4 is described below

commit 68e48811b40176213874beb151d066d17196e5a7
Author: Cool-Coding <ri...@163.com>
AuthorDate: Tue May 17 20:42:52 2022 +0800

    Fix the problem that MQ has the wrong layer type(#9080) (#9082)
---
 docs/en/changes/changes.md                                              | 1 +
 .../analyzer/provider/trace/parser/listener/RPCAnalysisListener.java    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/en/changes/changes.md b/docs/en/changes/changes.md
index eefb4a0963..982c17ea67 100644
--- a/docs/en/changes/changes.md
+++ b/docs/en/changes/changes.md
@@ -57,6 +57,7 @@
 * Remove `Layer` concept form `Process`.
 * Update to list all eBPF profiling schedulers without duration.
 * Storage(ElasticSearch): add search options to tolerate inexisting indices.
+* Fix the problem that `MQ` has the wrong `Layer` type
 
 #### UI
 
diff --git a/oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/RPCAnalysisListener.java b/oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/RPCAnalysisListener.java
index 78bff0ef6d..f9987b1222 100644
--- a/oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/RPCAnalysisListener.java
+++ b/oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/RPCAnalysisListener.java
@@ -393,7 +393,7 @@ public class RPCAnalysisListener extends CommonAnalysisListener implements Entry
                 }
                 return Layer.GENERAL;
             case MQ:
-                return Layer.MQ;
+                return Layer.VIRTUAL_MQ;
             case Cache:
                 return Layer.CACHE;
             case UNRECOGNIZED: