From a650fd495c1bfd1a3c726505f69fcd626049c214 Mon Sep 17 00:00:00 2001 From: Kargatum Date: Thu, 28 Oct 2021 19:47:29 +0700 Subject: feat(Core/Metrics): implement real time statistic visualization (#8663) --- src/cmake/showoptions.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/cmake') diff --git a/src/cmake/showoptions.cmake b/src/cmake/showoptions.cmake index 0a9a8362c7..8e81121409 100644 --- a/src/cmake/showoptions.cmake +++ b/src/cmake/showoptions.cmake @@ -156,6 +156,18 @@ if(WITH_STRICT_DATABASE_TYPE_CHECKS) add_definitions(-DACORE_STRICT_DATABASE_TYPE_CHECKS) endif() +if(WITHOUT_METRICS) + message("") + message(" *** WITHOUT_METRICS - WARNING!") + message(" *** Please note that this will disable all metrics output (i.e. InfluxDB and Grafana)") + add_definitions(-DWITHOUT_METRICS) +elseif (WITH_DETAILED_METRICS) + message("") + message(" *** WITH_DETAILED_METRICS - WARNING!") + message(" *** Please note that this will enable detailed metrics output (i.e. time each session takes to update)") + add_definitions(-DWITH_DETAILED_METRICS) +endif() + if(BUILD_SHARED_LIBS) message("") message(" *** WITH_DYNAMIC_LINKING - INFO!") -- cgit v1.2.3