Skip to content

Commit

Permalink
Fix knowhere prometheus metrics not show (#25601)
Browse files Browse the repository at this point in the history
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
  • Loading branch information
cydrain authored Jul 17, 2023
1 parent c4f0090 commit ad9271c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ using_ccache_if_defined(MILVUS_USE_CCACHE)
include( ExternalProject )
include( GNUInstallDirs )
include( FetchContent )

# this MACRO is used to show knowhere prometheus metrics
add_definitions(-DNOT_COMPILE_FOR_SWIG)
include_directories( thirdparty )

set( FETCHCONTENT_BASE_DIR ${MILVUS_BINARY_DIR}/3rdparty_download )
set( FETCHCONTENT_QUIET OFF )
include( ThirdPartyPackages )
Expand Down

0 comments on commit ad9271c

Please sign in to comment.