Version Notes
This module adds NewRelic to Magento
Download this release
Release Info
Developer | Magento Core Team |
Extension | Yireo_NewRelic |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.4 to 1.0.5
app/code/community/Yireo/NewRelic/Model/Profiler.php
CHANGED
@@ -19,11 +19,15 @@ class Yireo_NewRelic_Model_Profiler
|
|
19 |
}
|
20 |
|
21 |
// Add generic NewRelic calls that don't have dependancies on Magento
|
|
|
22 |
static $initialized = false;
|
23 |
if($initialized == false) {
|
24 |
newrelic_add_custom_tracer('Mage::getModel');
|
25 |
newrelic_add_custom_tracer('Mage::getSingleton');
|
26 |
newrelic_add_custom_tracer('Mage::helper');
|
|
|
|
|
|
|
27 |
newrelic_add_custom_tracer('include');
|
28 |
newrelic_add_custom_tracer('include_once');
|
29 |
newrelic_add_custom_tracer('require');
|
19 |
}
|
20 |
|
21 |
// Add generic NewRelic calls that don't have dependancies on Magento
|
22 |
+
// @all users: More suggestions are welcome
|
23 |
static $initialized = false;
|
24 |
if($initialized == false) {
|
25 |
newrelic_add_custom_tracer('Mage::getModel');
|
26 |
newrelic_add_custom_tracer('Mage::getSingleton');
|
27 |
newrelic_add_custom_tracer('Mage::helper');
|
28 |
+
newrelic_add_custom_tracer('Mage_Core_Model_App::_initCache');
|
29 |
+
newrelic_add_custom_tracer('Mage_Core_Model_Config::loadDb');
|
30 |
+
newrelic_add_custom_tracer('Mage_Core_Model_Config::loadModules');
|
31 |
newrelic_add_custom_tracer('include');
|
32 |
newrelic_add_custom_tracer('include_once');
|
33 |
newrelic_add_custom_tracer('require');
|
app/code/community/Yireo/NewRelic/etc/config.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Yireo_NewRelic>
|
16 |
-
<version>1.0.
|
17 |
</Yireo_NewRelic>
|
18 |
</modules>
|
19 |
|
13 |
<config>
|
14 |
<modules>
|
15 |
<Yireo_NewRelic>
|
16 |
+
<version>1.0.5</version>
|
17 |
</Yireo_NewRelic>
|
18 |
</modules>
|
19 |
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Yireo_NewRelic</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php/">Open Software License</license>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>This module adds NewRelic to Magento</description>
|
11 |
<notes>This module adds NewRelic to Magento</notes>
|
12 |
<authors><author><name>Yireo</name><user>auto-converted</user><email>info@yireo.com</email></author></authors>
|
13 |
-
<date>2011-
|
14 |
<time>15:38:57</time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Varien"><file name="Profiler.php" hash="296d3f7a5a0686ce8db7cda71639e8eb"/></dir><dir name="Yireo"><dir name="NewRelic"><dir name="Model"><file name="Observer.php" hash="22b013daa3c0214dbfbcf8790e93d62d"/><file name="Profiler.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Yireo_NewRelic</name>
|
4 |
+
<version>1.0.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php/">Open Software License</license>
|
7 |
<channel>community</channel>
|
10 |
<description>This module adds NewRelic to Magento</description>
|
11 |
<notes>This module adds NewRelic to Magento</notes>
|
12 |
<authors><author><name>Yireo</name><user>auto-converted</user><email>info@yireo.com</email></author></authors>
|
13 |
+
<date>2011-09-13</date>
|
14 |
<time>15:38:57</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Varien"><file name="Profiler.php" hash="296d3f7a5a0686ce8db7cda71639e8eb"/></dir><dir name="Yireo"><dir name="NewRelic"><dir name="Model"><file name="Observer.php" hash="22b013daa3c0214dbfbcf8790e93d62d"/><file name="Profiler.php" hash="f892b59b0ab51f19ef4494d42d7130d3"/></dir><dir name="Helper"><file name="Data.php" hash="7661aee7c080d2af887e934cc9b12f71"/></dir><dir name="etc"><file name="config.xml" hash="4a808fa37260ef41b5f885e50579da61"/><file name="system.xml" hash="2dab0268fd0c5d36b0e7efcc6ffc4cbc"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Yireo_NewRelic.xml" hash="ca797759fe9ecc807f986141989cee17"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|