提交 dcc67524 编写于 作者: Y yu yunfeng

add task in changelog


Former-commit-id: a88c6ecd7b97dccadb492c5df94729da2e52f136
上级 f8c46af5
......@@ -23,3 +23,4 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-4 - Refactor the vecwise_engine code structure
- MS-20 - Clean Code Part 1
- MS-30 - Use faiss v1.5.2
- MS-34 - Fix prometheus-cpp thirdparty
......@@ -70,9 +70,9 @@ endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
#if (BUILD_UNIT_TEST)
# option(MEGASEARCH_BUILD_TESTS "Build the megasearch test suite" ON)
#endif(BUILD_UNIT_TEST)
if (BUILD_UNIT_TEST)
option(MEGASEARCH_BUILD_TESTS "Build the megasearch test suite" ON)
endif(BUILD_UNIT_TEST)
include(ExternalProject)
include(DefineOptions)
......
......@@ -977,6 +977,8 @@ if(MEGASEARCH_WITH_PROMETHEUS)
link_directories(SYSTEM ${PROMETHEUS_PREFIX}/core/)
include_directories(SYSTEM ${PROMETHEUS_PREFIX}/core/include)
link_directories(${PROMETHEUS_PREFIX}/civetweb_ep-prefix/src/civetweb_ep)
endif()
# ----------------------------------------------------------------------
......
......@@ -16,6 +16,7 @@ metric_config:
collector: prometheus # prometheus, now we only have prometheus
prometheus_config:
collect_type: pull # pull means prometheus pull the message from megasearch, push means megasearch push metric to push gateway
port: 8080
push_gateway_ip_address: 127.0.0.1
push_gateway_port: 9091
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册