Latency monitor: basic samples collection.

This commit is contained in:
antirez
2014-07-01 11:30:15 +02:00
parent 0baab66d16
commit 58ecc0bd68
5 changed files with 147 additions and 3 deletions

View File

@ -1427,6 +1427,9 @@ void initServerConfig() {
server.slowlog_log_slower_than = REDIS_SLOWLOG_LOG_SLOWER_THAN;
server.slowlog_max_len = REDIS_SLOWLOG_MAX_LEN;
/* Latency monitor */
server.latency_monitor_threshold = REDIS_DEFAULT_LATENCY_MONITOR_THRESHOLD;
/* Debugging */
server.assert_failed = "<no assertion failed>";
server.assert_file = "<no file>";
@ -1730,6 +1733,7 @@ void initServer() {
replicationScriptCacheInit();
scriptingInit();
slowlogInit();
latencyMonitorInit();
bioInit();
}