aboutsummaryrefslogtreecommitdiff
path: root/cmake/options.cmake
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2020-07-23 22:30:16 +0000
committerGitHub <noreply@github.com>2020-07-24 00:30:16 +0200
commit3c0ac7302f902d1811d2c215217a3d701f8b5b19 (patch)
tree0b9614483e35bdaff8f139976ee4272544e5b7d9 /cmake/options.cmake
parent880a7363faa2e0b3f91f3beddd83a31d30c4b5cb (diff)
Core/Metric: Add more metrics about World::Update() loop (#25098)
* Core/Metric: Add more metrics about World::Update() loop * Add new Performance profiling grafana dashboard * Add new cmake setting WITHOUT_METRICS that disables all metrics As new metrics are added, someone might want to disable them if unused. * Add more metrics about World::Update() loop * Remove old performance profiling features Remove "server set difftime" command, "-RecordUpdateTimeDiffInterval" and "MinRecordUpdateTimeDiff" worldserver config settings and their related code. The whole UpdateTime class could be removed too. * Update and rename 2020_07_99_99_world.sql to 2020_07_24_00_world.sql
Diffstat (limited to 'cmake/options.cmake')
-rw-r--r--cmake/options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/options.cmake b/cmake/options.cmake
index 52b39e4532c..7dffa37bdb0 100644
--- a/cmake/options.cmake
+++ b/cmake/options.cmake
@@ -49,6 +49,7 @@ endif()
option(WITH_WARNINGS "Show all warnings during compile" 0)
option(WITH_COREDEBUG "Include additional debug-code in core" 0)
option(WITH_STRICT_DATABASE_TYPE_CHECKS "Enable strict checking of database field value accessors" 0)
+option(WITHOUT_METRICS "Disable metrics reporting (i.e. InfluxDB and Grafana)" 0)
option(COPY_CONF "Copy authserver and worldserver .conf.dist files to the project dir" 1)
set(WITH_SOURCE_TREE "hierarchical" CACHE STRING "Build the source tree for IDE's.")
set_property(CACHE WITH_SOURCE_TREE PROPERTY STRINGS no flat hierarchical hierarchical-folders)