-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathholdenovi_profiler.xml.sample
59 lines (49 loc) · 2.53 KB
/
holdenovi_profiler.xml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<!--
This configuration file is used to configure Holdenovi_Profiler. Since profiling starts long before the configuration is being read
these settings can't be core_config_data (System > Configuration)
If you run Magento on multiple nodes makes sure this file is present on configured correctly on every node that's supposed to
log data.
This file is expected to be in var/holdenovi_profiler.xml
-->
<config>
<holdenovi_profiler>
<!--
'always': Every request will be logged (filters apply if enabled...)
'never': nothing will be logged. (The absence of this xml configuration implies 'never')
'parameter': controlled via get parameter '?profile=1' or cookie (profile).
Check System > Configuration for bookmarklets.
-->
<trigger>parameter</trigger><!-- 'always', 'parameter', or 'never' -->
<!--
If this is set to '0' (and profiling triggered) EVERY request will be logged.
This may end in a lot of data and in a general performance loss of your site.
This is only recommended on dev environments.
If set to '1' the following filters apply.
-->
<enableFilters>1</enableFilters>
<filters>
<!--
This controls how many samples will be recorded. Other filters still apply. Examples:
100 => every request will be logged
25 => only every fourth request will be logged
0.01 => only one in 10,000 requests will be logged.
-->
<sampling>100</sampling>
<!--
Only requests running longer than the configured time will be logged. Set to '0' to log everything. (Other filters still apply)
-->
<timeThreshold>0</timeThreshold><!-- in seconds -->
<!--
Only requests consuming more than the configured memory will be logged. Set to '0' to log everything. (Other filters still apply)
-->
<memoryThreshold>0</memoryThreshold><!-- in bytes -->
<!--
Regex pattern for $_SERVER['REQUEST_URI']. If empty the whitelist/blacklist is not active (whitelist will allow everything and blacklist
won't block anything). The whitelist has a higher priority than the blacklist
-->
<requestUriWhiteList><![CDATA[]]></requestUriWhiteList>
<requestUriBlackList><![CDATA[/^\/index\.php\/admin\//]]></requestUriBlackList><!-- this example blocks all admin urls -->
</filters>
</holdenovi_profiler>
</config>