Skip to content

Commit

Permalink
upgrade prometheus-cpp to v1.0.1 (#5279)
Browse files Browse the repository at this point in the history
ref #2103, close #5278
  • Loading branch information
YangKeao authored Jul 3, 2022
1 parent 045d24f commit 38b37e0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/prometheus-cpp
Submodule prometheus-cpp updated 126 files
9 changes: 9 additions & 0 deletions contrib/prometheus-cpp-cmake/pull/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,18 @@ if(ENABLE_COMPRESSION)
endif()

add_library(pull
${PROMETHEUS_SRC_DIR}/pull/src/basic_auth.cc
${PROMETHEUS_SRC_DIR}/pull/src/basic_auth.h
${PROMETHEUS_SRC_DIR}/pull/src/endpoint.cc
${PROMETHEUS_SRC_DIR}/pull/src/endpoint.h
${PROMETHEUS_SRC_DIR}/pull/src/exposer.cc
${PROMETHEUS_SRC_DIR}/pull/src/handler.cc
${PROMETHEUS_SRC_DIR}/pull/src/handler.h
${PROMETHEUS_SRC_DIR}/pull/src/metrics_collector.cc
${PROMETHEUS_SRC_DIR}/pull/src/metrics_collector.h

${PROMETHEUS_SRC_DIR}/pull/src/detail/base64.h

$<$<BOOL:${USE_THIRDPARTY_LIBRARIES}>:$<TARGET_OBJECTS:civetweb>>
)

Expand Down
2 changes: 2 additions & 0 deletions contrib/prometheus-cpp-cmake/push/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ if(NOT CURL_FOUND)
endif()

add_library(push
${PROMETHEUS_SRC_DIR}/push/src/curl_wrapper.cc
${PROMETHEUS_SRC_DIR}/push/src/curl_wrapper.h
${PROMETHEUS_SRC_DIR}/push/src/gateway.cc
)

Expand Down

0 comments on commit 38b37e0

Please sign in to comment.