You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2020/03/09 10:34:19 UTC

[skywalking] 01/01: [BugFix] Docker so11y cannot be disabled

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

kezhenxu94 pushed a commit to branch bugfix/docker-so11y-flag
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 5eba81e1409ca11204812bd456d4f4af206b76d2
Author: kezhenxu94 <ke...@163.com>
AuthorDate: Mon Mar 9 18:28:28 2020 +0800

    [BugFix] Docker so11y cannot be disabled
    
    ### Motivation:
    
    This patch fixes the bug that there's no chance to disable the so11y in docker container.
    
    ### Modifications:
    
    - Remove the default so11y section, and only add it when the environment variable exists.
    
    ### Result:
    
    - Users can disable so11y by leaving the `SW_TELEMETRY` empty or set it to `none`
---
 docker/oap-es7/docker-entrypoint.sh | 2 --
 docker/oap/docker-entrypoint.sh     | 2 --
 2 files changed, 4 deletions(-)

diff --git a/docker/oap-es7/docker-entrypoint.sh b/docker/oap-es7/docker-entrypoint.sh
index 54f508a..87cc9b1 100755
--- a/docker/oap-es7/docker-entrypoint.sh
+++ b/docker/oap-es7/docker-entrypoint.sh
@@ -384,8 +384,6 @@ receiver-jvm:
   default:
 receiver-clr:
   default:
-receiver-so11y:
-  default:
 service-mesh:
   default:
     bufferPath: \${SW_SERVICE_MESH_BUFFER_PATH:../mesh-buffer/}  # Path to trace buffer files, suggest to use absolute path
diff --git a/docker/oap/docker-entrypoint.sh b/docker/oap/docker-entrypoint.sh
index 8e46901..36f8928 100755
--- a/docker/oap/docker-entrypoint.sh
+++ b/docker/oap/docker-entrypoint.sh
@@ -385,8 +385,6 @@ receiver-jvm:
   default:
 receiver-clr:
   default:
-receiver-so11y:
-  default:
 receiver-profile:
   default:
 service-mesh: