<IfDefine HAVE_BENCHMARK> <IfModule !mod_benchmark.c> LoadModule benchmark_module extramodules/mod_benchmark.so </IfModule> </IfDefine> <IfModule mod_benchmark.c> # BenchmarkUseScoreBoard - Use Apache ScoreBoard ? #ScoreBoardFile logs/apache_runtime_status #BenchmarkUseScoreBoard on # BenchmarkWithSysInfo - Store the system average load and mem usage ? #BenchmarkWithSysInfo on:/usr/lib/apachee-extramodules/sysstat2:/tmp/benchmark:5 # BenchmarkWithLogInfo - Generate variables for LogFormat ? # BenchmarkWithStatProg - Send Data to benchmark_rt # BenchmarkTrace - Debug listed components (debug) #BenchmarkTrace debug # BenchmarkStore - Optional definition of storage target (dbtype:dbname:user:pwd) #BenchmarkStore /usr/lib/apache-extramodules/benchmark-mysql.so:localhost:benchmark:user:password # BenchmarkAlertAction - Process to call for sending alerts #BenchmarkAlertAction /usr/lib/apachee-extramodules/alerter.sh # BenchmarkEngine - Start/Stop the engine # BenchmarkAccept - Extended RE that list the files to be analyzed # BenchmarkAlertLimit - Limit of time (in milliseconds) a request can take before alert LogFormat "%t %{BenchmarkElapsed}n %{BenchmarkScoreBoard}n \"%r\" %s %B" benchmark_log CustomLog logs/benchmark.log benchmark_log <Location /> BenchmarkEngine on BenchmarkAccept \.html$|\.php$ BenchmarkAlertLimit 200 </Location> </IfModule>