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/03/23 15:08:47 UTC

[skywalking] branch two-new-layers created (now 822d3c1)

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

wusheng pushed a change to branch two-new-layers
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at 822d3c1  Add 2 new layers for k8s

This branch includes the following new commits:

     new 822d3c1  Add 2 new layers for k8s

The 1 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.


[skywalking] 01/01: Add 2 new layers for k8s

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch two-new-layers
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 822d3c1f8ce3b12e7275e30499c105c9b9836c62
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Mar 23 23:08:37 2022 +0800

    Add 2 new layers for k8s
---
 .../skywalking/oap/server/core/analysis/Layer.java       | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/Layer.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/Layer.java
index c3acfa9..efc6c31 100644
--- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/Layer.java
+++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/Layer.java
@@ -45,12 +45,12 @@ public enum Layer {
     GENERAL(2, true),
 
     /**
-     * Operation System Linux
+     * Linux Machine
      */
     OS_LINUX(3, true),
 
     /**
-     * Kubernetes, include pods, services, contains etc.
+     * Kubernetes cluster
      */
     K8S(4, true),
 
@@ -112,7 +112,17 @@ public enum Layer {
     /**
      * The uninstrumented gateways configured in OAP
      */
-    VIRTUAL_GATEWAY(16, false);
+    VIRTUAL_GATEWAY(16, false),
+
+    /**
+     * Kubernetes cluster
+     */
+    K8S_SERVICE(17, true),
+
+    /**
+     * Kubernetes node
+     */
+    K8S_NODE(18, true);
 
     private final int value;
     /**