Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prom on server #110

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/aio/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
set(MY_BINPLACES
config.ini
Expand Down
10 changes: 6 additions & 4 deletions src/base/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ set(MY_PROJ_SRC "")
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS
dsn_runtime
dsn_utils
pegasus_base
gtest)
dsn_runtime
dsn_utils
pegasus_base
gtest
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/block_service/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/client/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/common/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/failure_detector/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
set(MY_BINPLACES
run.sh
Expand Down
4 changes: 3 additions & 1 deletion src/geo/bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ set(MY_PROJ_LIBS
lz4
zstd
snappy
dsn_utils)
dsn_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/geo/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ set(MY_PROJ_LIBS
s2
pegasus_client_static
dsn_utils
gtest)
gtest
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/http/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/meta/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ set(MY_PROJ_LIBS
zookeeper
hashtable
gtest
hdfs)
hdfs
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
set(MY_BINPLACES
clear.sh
Expand Down
4 changes: 3 additions & 1 deletion src/meta/test/balancer_simulator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ set(MY_PROJ_LIBS
dsn_meta_server
dsn_ranger
dsn_replication_common
gtest)
gtest
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
set(MY_BINPLACES "")
dsn_add_test()
4 changes: 3 additions & 1 deletion src/nfs/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ set(MY_PROJ_LIBS
lz4
zstd
snappy
test_utils)
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/perf_counter/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ set(MY_PROJ_LIBS
lz4
zstd
snappy
gtest)
gtest
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
set(MY_BINPLACES
clear.sh
Expand Down
4 changes: 3 additions & 1 deletion src/ranger/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ set(MY_PROJ_LIBS
dsn_meta_server
dsn_replication_common
dsn_utils
gtest)
gtest
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BINPLACES
run.sh)
dsn_add_test()
18 changes: 10 additions & 8 deletions src/redis_protocol/proxy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ set(MY_PROJ_SRC "")
# "GLOB" for non-recursive search
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS pegasus.rproxylib
absl::flat_hash_set
absl::strings
pegasus_geo_lib
event
s2
pegasus_client_static
)
set(MY_PROJ_LIBS
pegasus.rproxylib
absl::flat_hash_set
absl::strings
pegasus_geo_lib
event
s2
pegasus_client_static
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BINPLACES "config.ini")

Expand Down
20 changes: 11 additions & 9 deletions src/redis_protocol/proxy_ut/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

set(MY_PROJ_LIBS pegasus.rproxylib
pegasus_base
absl::flat_hash_set
absl::strings
pegasus_geo_lib
s2
pegasus_client_static
gtest
)
set(MY_PROJ_LIBS
pegasus.rproxylib
pegasus_base
absl::flat_hash_set
absl::strings
pegasus_geo_lib
s2
pegasus_client_static
gtest
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BINPLACES "config.ini" "run.sh")

Expand Down
5 changes: 3 additions & 2 deletions src/sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ set(MY_PROJ_NAME "sample")
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS
pegasus_client_static
)
pegasus_client_static
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::filesystem Boost::system)

Expand Down
4 changes: 3 additions & 1 deletion src/server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ set(MY_PROJ_LIBS
pegasus_base
pegasus_client_static
event
hashtable)
hashtable
prometheus-cpp-core
prometheus-cpp-pull)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
set(MY_BINPLACES
config.ini)
Expand Down
4 changes: 3 additions & 1 deletion src/server/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ set(MY_PROJ_LIBS
pegasus_base
gtest
gmock
hashtable)
hashtable
prometheus-cpp-core
prometheus-cpp-pull)
add_definitions(-DPEGASUS_UNIT_TEST)
add_definitions(-DENABLE_FAIL)
set(MY_BOOST_LIBS Boost::system Boost::filesystem)
Expand Down
4 changes: 3 additions & 1 deletion src/test/bench_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ set(MY_PROJ_LIBS
snappy
sasl2
gssapi_krb5
krb5)
krb5
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/test/function_test/backup_restore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ set(MY_PROJ_LIBS
krb5
function_test_utils
pegasus_client_static
test_utils)
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
23 changes: 12 additions & 11 deletions src/test/function_test/base_api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ set(MY_PROJ_SRC "")
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS
dsn_client
dsn_replication_common
dsn_utils
pegasus_client_static
gtest
sasl2
gssapi_krb5
krb5
function_test_utils
test_utils
)
dsn_client
dsn_replication_common
dsn_utils
pegasus_client_static
gtest
sasl2
gssapi_krb5
krb5
function_test_utils
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/test/function_test/bulk_load/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ set(MY_PROJ_LIBS
rocksdb
lz4
zstd
snappy)
snappy
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/test/function_test/detect_hotspot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ set(MY_PROJ_LIBS
gssapi_krb5
krb5
function_test_utils
test_utils)
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
23 changes: 12 additions & 11 deletions src/test/function_test/partition_split/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ set(MY_PROJ_SRC "")
set(MY_SRC_SEARCH_MODE "GLOB")

set(MY_PROJ_LIBS
dsn_client
dsn_replication_common
dsn_utils
pegasus_client_static
gtest
sasl2
gssapi_krb5
krb5
function_test_utils
test_utils
)
dsn_client
dsn_replication_common
dsn_utils
pegasus_client_static
gtest
sasl2
gssapi_krb5
krb5
function_test_utils
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/test/function_test/recovery/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ set(MY_PROJ_LIBS
gssapi_krb5
krb5
function_test_utils
test_utils)
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
4 changes: 3 additions & 1 deletion src/test/function_test/restore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ set(MY_PROJ_LIBS
krb5
function_test_utils
pegasus_client_static
test_utils)
test_utils
prometheus-cpp-core
prometheus-cpp-pull)

set(MY_BOOST_LIBS Boost::system Boost::filesystem)

Expand Down
Loading
Loading