summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>2021-11-23 09:30:38 +0100
committerArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>2022-02-03 13:08:20 +0100
commit98236e3a1d2855c95d86640645c2984efa83791f (patch)
tree01f92a469cd58f644140c2fa4d5c722aa1cb284c /CMakeLists.txt
parentspec: debian: add golang as build dependency (diff)
downloadceph-98236e3a1d2855c95d86640645c2984efa83791f.tar.xz
ceph-98236e3a1d2855c95d86640645c2984efa83791f.zip
mgr/dashboard: monitoring: refactor into ceph-mixin
Mixin is a way to bundle dashboards, prometheus rules and alerts into jsonnet package. Shifting to mixin will allow easier integration with monitoring automation that some users may use. This commit moves `/monitoring/grafana/dashboards` and `/monitoring/prometheus` to `/monitoring/ceph-mixin`. Prometheus alerts was also converted to Jsonnet using an automated way (from yaml to json to jsonnet). This commit minimises any change made to the generated files and should not change neithers the dashboards nor the Prometheus alerts. In the future some configuration will also be added to jsonnet to add more functionalities to the dashboards or alerts (i.e.: multi cluster). Fixes: https://tracker.ceph.com/issues/53374 Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6c8c8396d1c..bb42aa69a68 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -663,8 +663,6 @@ option(WITH_SYSTEMD "build with systemd support" ON)
add_subdirectory(src)
add_subdirectory(qa)
-add_subdirectory(monitoring)
-
add_subdirectory(doc)
if(WITH_MANPAGE)
add_subdirectory(man)
@@ -679,9 +677,7 @@ if(LINUX)
endif()
option(WITH_GRAFANA "install grafana dashboards" OFF)
-if(WITH_GRAFANA)
- add_subdirectory(monitoring/grafana/dashboards)
-endif()
+add_subdirectory(monitoring/ceph-mixin)
CMAKE_DEPENDENT_OPTION(WITH_BOOST_VALGRIND "Boost support for valgrind" OFF
"NOT WITH_SYSTEM_BOOST" OFF)