Просмотр исходного кода

profiling: document new options

Peter Bieringer 2 месяцев назад
Родитель
Сommit
462fa93184
1 измененных файлов с 37 добавлено и 0 удалено
  1. 37 0
      DOCUMENTATION.md

+ 37 - 0
DOCUMENTATION.md

@@ -1690,6 +1690,43 @@ Log storage cache actions on `level = debug`
 
 
 Default: `False`
 Default: `False`
 
 
+##### profiling_per_request
+
+_(>= 3.5.10)_
+
+Log profiling data on level=info
+
+Default: `per_request`
+
+One of
+* `per_request` (above minimum duration)
+* `per_request_method` (regular interval)
+
+##### profiling_per_request_min_duration
+
+_(>= 3.5.10)_
+
+Log profiling data per request minimum duration (seconds) before logging, otherwise skip
+
+Default: `3`
+
+##### profiling_per_request_method_interval
+
+_(>= 3.5.10)_
+
+Log profiling data per method interval (seconds)
+Triggered by request, not active on idle systems
+
+Default: `600`
+
+##### profiling_top_x_functions
+
+_(>= 3.5.10)_
+
+Log profiling top X functions (limit)
+
+Default: `10`
+
 #### [headers]
 #### [headers]
 
 
 This section can be used to specify additional HTTP headers that will be sent to clients.
 This section can be used to specify additional HTTP headers that will be sent to clients.