-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathconfigure.php
45 lines (40 loc) · 3.04 KB
/
configure.php
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
<?php
require_once(dirname(__FILE__).'/global.php');
require_once(dirname(__FILE__).'/users/users.php');
$TITLE = 'Configuring YSlow / Page Speed';
$SECTION = 'configure';
require_once(dirname(__FILE__).'/header.php');
?>
<p><b style="color: #F60">WARNING! Only use this if you're OK with all your measurements to be recorded by this instance of ShowSlow and displayed at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a><br/>You can also <a href="http://www.showslow.org/Installation_and_configuration">install ShowSlow on your own server</a> to limit the risk.</b></p>
<p>Set these Firefox preferences on <b>about:config</b> page:</p>
<h2>YSlow</h2>
<p><a target="_blank" href="http://www.yslow.org/">Yslow</a> has to be configured to send data to a Show Slow instance</p>
<p>To send metrics to your instance located at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a>, set these Firefox preferences:</p>
<ul>
<li>extensions.yslow.beaconUrl = <b style="color: blue"><?php echo $showslow_base?>beacon/yslow/</b></li>
<li>extensions.yslow.beaconInfo = <b style="color: blue">grade</b></li>
<li>extensions.yslow.optinBeacon = <b style="color: blue">true</b></li>
</ul>
<h2>Page Speed</h2>
<p><a target="_blank" href="https://developers.google.com/speed/pagespeed/insights_extensions">Page Speed</a> is configured to send metrics to <a href="http://www.showslow.com/">showslow.com</a> by default.</p>
<p>To send metrics to your instance located at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a>, set these Firefox preferences:</p>
<ul>
<li>extensions.PageSpeed.beacon.minimal.url = <b style="color: blue"><?php echo $showslow_base?>beacon/pagespeed/</b></li>
<li>extensions.PageSpeed.beacon.minimal.enabled = <b style="color: blue">true</b></li>
</ul>
<h2>dynaTrace AJAX Edition</h2>
<p><a target="_blank" href="http://ajax.dynatrace.com/">dynaTrace AJAX Edition</a> is configured to upload metrics to <a href="http://www.showslow.com/">showslow.com</a> when clicking on the <b><i>Upload to showslow.com</i></b> context menu in the dynaTrace AJAX Performance Report.</p>
<p>To send metrics to your instance located at <a href="<?php echo $showslow_base?>"><?php echo $showslow_base?></a>, open <b>dtajax.ini</b> file in the root of dynaTrace AJAX installation folder and add the following two lines to it:</p>
<ul>
<li>-Dcom.dynatrace.diagnostics.ajax.beacon.uploadurl=<b style="color: blue"><?php echo $showslow_base?>beacon/dynatrace/</b></li>
<li>-Dcom.dynatrace.diagnostics.ajax.beacon.portalurl=<b style="color: blue"><?php echo $showslow_base?></b></li>
</ul>
<h2>More metrics</h2>
<p>For more information about different beacons supported by this instance of ShowSlow, see <a href="beacon/">beacons page</a></p>
<h2>Additional documentation</h2>
<p>You can find more detailed documentation on configuring tools to be sending data to Show Slow on our wiki here.</p>
<ul>
<li><a href="http://www.showslow.org/Tools_configuration">http://www.showslow.org/Tools_configuration</a></li>
</ul>
<?php
require_once(dirname(__FILE__).'/footer.php');