]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
jaeger: make tracing default turned off, until teuthology integration
authorDeepika Upadhyay <dupadhya@redhat.com>
Thu, 3 Dec 2020 13:10:09 +0000 (18:40 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Fri, 11 Dec 2020 10:08:09 +0000 (10:08 +0000)
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
CMakeLists.txt
ceph.spec.in
debian/libjaeger.install
src/CMakeLists.txt

index d91ba8119e4d2292cff0596561600b44e9629db3..7304b42f78083470c1f200db9de3e38391886dcb 100644 (file)
@@ -364,7 +364,7 @@ if(WITH_BLKIN)
   include_directories(SYSTEM src/blkin/blkin-lib)
 endif(WITH_BLKIN)
 
-option(WITH_JAEGER "Enable jaegertracing and it's dependent libraries" ON)
+option(WITH_JAEGER "Enable jaegertracing and it's dependent libraries" OFF)
 if(WITH_JAEGER)
   set(HAVE_JAEGER TRUE)
 endif()
index ef2c766ddb0c3a7fe886df42c8e075b584bdc207..a5724cee8cf37c353cc929c083011e0dd41b8b7a 100644 (file)
@@ -61,7 +61,7 @@
 %endif
 %endif
 %bcond_with seastar
-%bcond_without jaeger
+%bcond_with jaeger
 %if 0%{?fedora} || 0%{?suse_version} >= 1500
 # distros that ship cmd2 and/or colorama
 %bcond_without cephfs_shell
index e7cb033ac528d89d378ee0f895cd17c64766d3d8..71d8caaf6df15a02ab2b854bc36630ccf098af63 100644 (file)
@@ -1,3 +1,3 @@
-usr/lib/libopentracing.so.*
-usr/lib/libjaegertracing.so.*
-usr/lib/libthrift.so.*
+#usr/lib/libopentracing.so.*
+#usr/lib/libjaegertracing.so.*
+#usr/lib/libthrift.so.*
index ef8a5f206107e39aa71e995d5bc3e114c0df8d17..097af03a9232d763993845e62b3515b6c097cef3 100644 (file)
@@ -396,6 +396,9 @@ if(WITH_JAEGER)
     set(jaeger_libs ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so
                    ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so.0.6
                    ${CMAKE_BINARY_DIR}/external/lib/libyaml-cpp.so.0.6.2)
+    #customize libjaeger.install
+    execute_process(COMMAND bash -c "sed -i 's/#//' debian/libjaeger.install"
+                   WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
     execute_process(COMMAND bash -c "grep -q 'yaml-cpp' debian/libjaeger.install || echo 'usr/lib/libyaml-cpp.so.*' >> debian/libjaeger.install"
                    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
   endif()