mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 14:46:24 +00:00
feat(Core/Metrics): implement real time statistic visualization (#8663)
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
# LOGGING SYSTEM SETTINGS
|
||||
# PACKET SPOOF PROTECTION SETTINGS
|
||||
# DEBUG
|
||||
# METRIC SETTINGS
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
@@ -3821,3 +3822,58 @@ Debug.Arena = 0
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
###################################################################################################
|
||||
# METRIC SETTINGS
|
||||
#
|
||||
# These settings control the statistics sent to the metric database (currently InfluxDB)
|
||||
#
|
||||
# Metric.Enable
|
||||
# Description: Enables statistics sent to the metric database.
|
||||
# Default: 0 - (Disabled)
|
||||
# 1 - (Enabled)
|
||||
#
|
||||
|
||||
Metric.Enable = 0
|
||||
|
||||
#
|
||||
# Metric.Interval
|
||||
# Description: Interval between every batch of data sent in seconds
|
||||
# Default: 10 seconds
|
||||
#
|
||||
|
||||
Metric.Interval = 10
|
||||
|
||||
#
|
||||
# Metric.ConnectionInfo
|
||||
# Description: Connection settings for metric database (currently InfluxDB).
|
||||
# Example: "hostname;port;database"
|
||||
# Default: "127.0.0.1;8086;worldserver"
|
||||
#
|
||||
|
||||
Metric.ConnectionInfo = "127.0.0.1;8086;worldserver"
|
||||
|
||||
#
|
||||
# Metric.OverallStatusInterval
|
||||
# Description: Interval between every gathering of overall worldserver status data in seconds
|
||||
# Default: 1 second
|
||||
#
|
||||
|
||||
Metric.OverallStatusInterval = 1
|
||||
|
||||
#
|
||||
# Metric threshold values: Given a metric "name"
|
||||
# Metric.Threshold.name
|
||||
# Description: Skips sending statistics with a value lower than the config value.
|
||||
# If the threshold is commented out, the metric will be ignored.
|
||||
# Only metrics logged with METRIC_DETAILED_TIMER in the sources are affected.
|
||||
# Disabled by default. Requires WITH_DETAILED_METRICS CMake flag.
|
||||
#
|
||||
# Format: Value as integer
|
||||
#
|
||||
|
||||
#Metric.Threshold.world_update_sessions_time = 100
|
||||
#Metric.Threshold.worldsession_update_opcode_time = 50
|
||||
|
||||
#
|
||||
###################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user