้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- Considerably more detailed transaction traces, reducing to almost nil the amount of "uninstrumented time" in TT graphs.
- Detailed TT's (the so-called "top100" feature) are now enabled by default.
- Reduced the overhead for detailed TT's dramatically, bringing it to within 2-3% of the agent speed without them enabled.
- Fixed a memory bug that was causing garbage metric names to be sent to the daemon and then on to RPM.
- Fixed erroneous behavior of the "newrelic_end_of_transaction()" API call. Previously it did not correctly end the transaction.
- The fix to reduce metric grouping issues with WordPress table names no longer causes the table names to produce a warning in the logfile.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- Updated to work with Apache 2.4
- The auto-RUM buffer is now erasable, but doing so will obviously prevent auto-RUM from inserting the RUM header and/or footer.
- Fixed a problem where WordPress blogs would result in metric explosion due to their database table naming scheme
- Support transactions that last longer than 35 minutes. Long-running cron jobs will no longer report negative time.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- Support for PHP 5.4RC8 or higher. Please note that versions prior to RC8 will not work correctly, especially not with auto-RUM. Also please heed the advice that the PHP developers themselves give about using the 5.4 release candidates: do not use it in production.
- Added the frequently-requested newrelic_set_appname() API that will allow you to change the name of the application on the fly. This should be called as early as possible, and cannot be called after the RUM footer has been sent.
- Fixed an occasional segmentation violation caused by the Slow SQL feature, especially when using the command line version of PHP.
- Fixed an occasional segmentation violation caused by auto-RUM.
- Fixed a problem where the ZTS-enabled version of the agent would cause a segmentation violation when used on the command line.
- Removed the colon from the list of characters that are invalid in SQL table names, and provide a mechanism to disable table name checking completely.
- Fixed a small (about 10 bytes per request) memory leak.
- Fixed an issue that would sometimes cause PHP execution time to not show up in the application overview graph.
- If you call the newrelic_ignore_transaction() API function, no longer produce automatic RUM headers and footers for that transaction.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- Fixed an issue where using file_get_contents() could end up being mis-interpreted as an SQL node and cause a core-dump. This would only happen when Slow-SQL traces were enabled.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- Fixed several issues that would cause Apache to core-dump. Not all users would see these faults, but a few did and those bugs have been fixed.
- Removed support for the PHP-only MediaWiki memcached client that was added in 2.6.5.41, as the code that was added to support this was part of what was causing random core dumps. It will be re-added in a future release.
- Use less system stack space when hooking PHP functions so that PHP code that is massively recursive runs less risk of overflowing the stack.
- Corrected the way the Mac OSX client was being built so it works on OSX 10.5.
- Fixed a potential buffer over-run error in the Zend and Magento framework code that would be provoked if a controller name was significantly longer than the module name.
- Removed the backslash from the list of illegal characters in SQL table names as some customers actually use it.
- Prevent a file descriptor leak if you do a soft restart of Apache.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- There is an outstanding issue with the Zend View component where it kills the output buffer that auto-RUM relies on, so for this environment you will need to disable auto-RUM by setting newrelic.browser_monitoring.auto_instrument = 0 and doing manual instrumentation for the time being.
- Fixed a potential spin-loop that would cause the agent to consume 100% of the CPU if the underlying OS did not allow the daemon connection (even if the daemon was up and running).
- Only apply Real User Monitoring scripts to HTML content.
- Fix an issue if auto-RUM encountered content it couldn't parse, it would cause a segmentation violation and cause Apache to core-dump.
้่ฆ
์ด ์์ด์ ํธ ๋ฒ์ ์ ์ง์ ์ข ๋ฃ์ผ์ 2019๋ 7์ 29์ผ์ ๋๋ค. ์ต์ ์์ด์ ํธ ๋ฒ์ ์ผ๋ก ์ ๋ฐ์ดํธํ๋ ค๋ฉด ์์ด์ ํธ ์ ๋ฐ์ดํธ๋ฅผ ์ฐธ์กฐํ์ธ์. ์์ธํ ๋ด์ฉ์ ์๋ช ์ข ๋ฃ ์ ์ฑ ์ ์ฐธ์กฐํ์ธ์.
๋ฉ๋ชจ:
apt์ ์ฅ์๋ ์ด์ ๋์งํธ ์๋ช ๋์์ผ๋ฉฐ, Ubuntu๋ ๋ค๋ฅธ Debian ๊ณ์ด ์์คํ ์ฉ ์ด ์ ์ฅ์์์ ์์ด์ ํธ๋ฅผ ์ ๋ฐ์ดํธํ๋ ค๋ฉด ๋ค์ ๋ช ๋ น์ ์ฌ์ฉํ์ฌ ์ GPG ํค๋ฅผ ๊ฐ์ ธ์์ผ ํฉ๋๋ค(๋งจ ๋ง์ง๋ง์ ๋ง์ด๋์ค ๊ธฐํธ๊ฐ ์์ผ๋ ์ฃผ์ํ์ธ์!).wget -O - https://download.newrelic.com/NEWRELIC_APT_2DAD550E.public | sudo gpg --import --batch --no-default-keyring --keyring /usr/share/keyrings/download.newrelic.com-newrelic.gpgZend์ Magento ๊ฑฐ๋์ ๋ช ๋ช ๋ฐฉ์์ ๊ฐ์ ํ ๊ฒ์ ์ ์ํด ์ค IGN Entertainment์ Nick Calugar์๊ฒ ๋งค์ฐ ํน๋ณํ๊ณ ํฐ ๊ฐ์ฌ๋ฅผ ์ ํฉ๋๋ค. ์ด ๋ ํ๋ ์์ํฌ์ ๊ฒฝ์ฐ, ๊ฑฐ๋ ๋ช ๋ช ๋ฐฉ์์ด ์ด์ ์ ์ฌ์ฉํ๋ ๊ฑฐ๋ ๋ช ๋ช ๋ฐฉ์๋ณด๋ค ๋ ์ ํํด์ก๊ณ ์ค๋ฒํค๋๋ ์ค์์ต๋๋ค. ์ด๋ฅผ ํตํด Magento ๊ฑฐ๋ ์ด๋ฆ์ ๊ฐ๋ ๊ฐ๋น์ง ๋ฌธ์๊ฐ ํฌํจ๋๊ฑฐ๋ ์ฌ์ง์ด PHP ์คํฌ๋ฆฝํธ ์กฐ๊ฐ์ด ํฌํจ๋๋ ๋ฌธ์ ๋ ํด๊ฒฐ๋์์ต๋๋ค. ๋ ๊ฒฝ์ฐ ๋ชจ๋ ๋ค๋ฅธ ํ๋ ์์ํฌ์ ๋ง์ฐฌ๊ฐ์ง๋ก ํธ๋์ญ์ ์ ์ด๋ฆ์ด '๋ชจ๋/์ปจํธ๋กค๋ฌ/์ก์ '์ผ๋ก ์ง์ ๋ฉ๋๋ค.
๋ฒ ํ ํ ์คํธ ๊ธฐ๊ฐ ๋์ ๊ท์คํ ๋์์ ์ฃผ์๊ณ OCI8 ์ง์ ํ ์คํธ์ ์ฐธ์ฌํด ์ฃผ์ ๋๋ธ๋ฆฐ์ Arithon ์์ Roderick Smyth์๊ฒ ํน๋ณํ ๊ฐ์ฌ๋๋ฆฝ๋๋ค.
์๋ ์ฌ์ฉ์ ์ค๊ฐ์(autoRUM)๊ฐ ํฌ๊ฒ ๊ฐ์ ๋์์ต๋๋ค. ๊ฐ์ฅ ์ค์ํ ๋ณ๊ฒฝ ์ฌํญ์ ์๋ RUM์ด ์ด์ ์ถ๋ ฅ ํํฐ๋ก ๊ตฌํ๋์ด Drupal๊ณผ Wordpress๋ฟ๋ง ์๋๋ผ ๋ชจ๋ ํ๋ ์์ํฌ์์ ์๋ํ๋ค๋ ๊ฒ์ ๋๋ค. ๋ํ ๋ชจ๋์ด๋ ํ๋ ์์ํฌ์ ๋ค๋ฅธ ๋ณ๊ฒฝ ์ฌํญ์ด ๋ ์ด์ RUM ํค๋์ ํธํฐ๋ฅผ ์ฝ์ ํ๋ ๋ฐฉ๋ฒ์ ์ํฅ์ ๋ฏธ์น์ง ์์ผ๋ฏ๋ก ์์ ์ฑ์ด ์๋นํ ๋์์ก์ต๋๋ค. ์ด์ ์ RUM ํค๋์ ํธํฐ๋ฅผ ์๋์ผ๋ก ์ฝ์ ํด์ผ ํ๋ ๊ฒฝ์ฐ ๊ธฐ์กด ์๋ ํธ์ถ์ ์๋RUM ๋ฐ ํธํฐ๋ฅผ ๋ค์ ํ์ฑํํ๋ ๊ฒ์ด ์ข์ต๋๋ค. ์ด ๋ณ๊ฒฝ ์ฌํญ์ ๋ฐ๋ผ 'newrelic_disable_autorum()'์ด๋ผ๋ ์๋ก์ด API ํธ์ถ์ด ์๋๋ฐ, ์ด๋ฅผ ํธ์ถํ๋ฉด ์ฃผ์ด์ง ํธ๋์ญ์ ์ ๋ํด ์๋ RUM์ด ์คํ๋๋ ๊ฒ์ ๋ฐฉ์งํ ์ ์์ต๋๋ค. ์๋ฅผ ๋ค์ด AJAX ํธ์ถ์ ๋ํ ์๋ RUM์ ๋นํ์ฑํํ ์ ์์ต๋๋ค.
์ด๋ป๊ฒ ํธ์ถํ๋ , ๋์ผํ ํธ๋์ญ์ ์์ ํค๋๊ฐ ์ ๊ฑฐ๋์ง ์์ ๊ฒฝ์ฐ์๋ RUM ํธํฐ๊ฐ ๋ ์ด์ ์ ๊ฑฐ๋์ง ์์ต๋๋ค. ์ด๋ ๊ฒ ํ๋ฉด ํค๋๊ฐ ์ฝ์ ๋์ง ์์ ๊ฒฝ์ฐ JavaScript ์ค๋ฅ๊ฐ ๋ฐ์ํ๋ ๊ฒ์ ๋ฐฉ์งํ ์ ์์ต๋๋ค.
RUM ํค๋์ ํธํฐ๊ฐ ์ฝ๊ฐ ์์ ๋์ด ๋ง์ง๋ง ์คํฌ๋ฆฝํธ ๋ช ๋ น ๋ค์ ๋๋ฝ๋ ์ธ๋ฏธ์ฝ๋ก ์ด ์ถ๊ฐ๋์์ต๋๋ค. ์ด๋ฅผ ํตํด ์ผ๋ถ ๋ธ๋ผ์ฐ์ ์ ๊ท์ ์ค์ ๋ถ์๊ธฐ๊ฐ JavaScript์ ๋ํด ๋ถํํ๋ ๊ฒ๋ ๋ฐฉ์งํ ์ ์์ต๋๋ค.
๋ ๋์ค์ MemCache์ ์ ์ฌํ ๊ธฐ๋ฅ ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค. ์ด๋ REDIS์ ๋ํ ์์ ํ ์ง์์ ์๋๋ฉฐ, ๊ธฐ์กด MemCache ์งํ์ ๊น๋ํ๊ฒ ๋งคํ๋๋ REDIS API ์ ์ผ๋ถ์ ๋ํ ์ง์์ผ ๋ฟ์ ๋๋ค. ์ด๋ฌํ ํญ๋ชฉ์ ๊ฐ์ ๊ทธ๋ํ์ MemCache ํ๋์ผ๋ก ํ์๋๋ฏ๋ก MemCache์ Lendis๋ฅผ ๋ชจ๋ ์ฌ์ฉํ๋ฉด ๋ค๋ฅธ SQL ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ๋ํ ๊ฐ์๊ฐ ๋ณํฉ๋๋ ๊ฒ์ฒ๋ผ ๋ฐ์ดํฐ๊ฐ ๋ณํฉ๋ฉ๋๋ค.
์ฌ๋ฌ ํ๋ ์์ํฌ ์ฌ์ดํธ(๋์ผํ ์ฌ์ดํธ์ ์ฌ๋ฌ ๋ถ๋ถ์ ๋ ๊ฐ ์ด์์ ํ๋ ์์ํฌ๊ฐ ์ฌ์ฉ๋๋ ๊ฒฝ์ฐ)์ ๋ํ ์ง์์ด ์๋นํ ๊ฐ์ ๋์์ต๋๋ค. ํ๋ ์์ํฌ ๊ด๋ จ ํจ์์ ๋ํ ์ธก์ , ๋ก๊ทธ๋ ์ด์ ์์ฒญ๋ณ๋ก ๊ฒฉ๋ฆฌ๋๋ฏ๋ก ํ๋์ PHP์์ ์ฒ๋ฆฌํ๋ ์ฌ๋ฌ requests ํ๋ ์์ํฌ์ ๊ฐ์์ค๋ฌ์ด ๋ณ๊ฒฝ์ผ๋ก ์ธํด ๋ ์ด์ ํผ๋๋์ง ์์ต๋๋ค.
logrotate ํผ์ณ๋ณด๊ธฐ๋ ๋ ์ด์ ๋ด๋ ๋ฆญ ์๋ฒ ๋ชจ๋ํฐ๊ฐ ์ค์นํ ๋ฒ์ ๊ณผ ์ถฉ๋ํ์ง ์์ต๋๋ค.
์ด๋ค ์ด์ ๋ก๋ ๋ฐ๋ชฌ์ด ์๋ตํ์ง ์๋ ๊ฒฝ์ฐ ์์ด์ ํธ๊ฐ ๋ ์ด์ ๋ฐ๋ชฌ์ด ๋ณต๊ตฌ๋ ๋๊น์ง ๊ธฐ๋ค๋ฆฌ์ง ์๊ณ (๋ฐ๋ผ์ ์ํ์น๊ฐ ์ถฉ๋ํ๋ ๊ฒ์ฒ๋ผ ๋ณด์ด๋๋ก) ์์ด์ ํธ-๋ฐ๋ชฌ ํต์ ์ ๋ํ ์๊ฐ ์ด๊ณผ๋ฅผ ๊ตฌํํ์ต๋๋ค.
์ค๋ฅ ์ฒ๋ฆฌ๊ธฐ์์ ์ฌ์ฉ์ ์๋ฆผ ์ค๋ฅ๋ฅผ ์ฌ๋ฐ๋ฅด๊ฒ ๋ฌด์ํฉ๋๋ค.
๋ ์ด์ ์ฌ์ฉ๋์ง ์์ง๋ง ์ฌ์ ํ ์์ฃผ ์ฌ์ฉ๋๋
mysql_db_queryํจ์์ ๋ํ ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค.Zend์์ ์ธ๋ถ ์๋น์ค ํธ์ถ์ ๋ ์ ์ถ์ ํ๊ธฐ ์ํด Zend ํ๋ ์์ํฌ์ Zend_Http_Client::request() ๋ฉ์๋์ ๋ํ ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค.
์ ํ๋ฆฌ์ผ์ด์ ์ด๋ฆ์ ์ค์ ํ ๋ ๊ตฌ๋ฌธ
newrelic.appname="%{VARIABLE}"์ฌ์ฉํ ์ ์๋ ๊ธฐ๋ฅ์ด ์ถ๊ฐ๋์์ต๋๋ค. ์ด๋ ๊ฒ ํ๋ฉด SAPI์ ํ๊ฒฝ ๋ณ์ ์กฐํ ๋ฉ์ปค๋์ฆ์ ์ฌ์ฉํ์ฌ VARIABLE์ ์ฐพ๊ณ ๊ทธ์ ๋ฐ๋ผ ์ ํ๋ฆฌ์ผ์ด์ ์ด๋ฆ์ ์ค์ ํฉ๋๋ค.REPLACESQL ๋ช ๋ น ๋์ฌ๋ ์ด์ "๊ธฐํ"๋ก ๋ฌถ์ด์ง ์๊ณ ์ธ์๋๊ณ ๊ณ ์ ํ ๋ฉํธ๋ฆญ์ด ์์ฑ๋ฉ๋๋ค.OpenSolaris์ ์ค๋ ๋ ๋ฎคํ ์ค ๊ต์ฐฉ ์ํ ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์์ต๋๋ค.
Wikia์ ์์ PHP MemCached ํด๋ผ์ด์ธํธ์ ๋ํ ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค.
file_get_contents()์ด์ ๊ฒ์๋๋ ๊ฐ์ฒด๊ฐ ์๊ฒฉ์ด๊ณ HTTP ๋๋ HTTPS๋ฅผ ์ฌ์ฉํ๋ ๊ฒฝ์ฐ ์ธ๋ถ ์๋น์ค ํญ์ ํ์๋ฉ๋๋ค.newrelic_notice_error()์๋ ์ด์ ๋ฌธ์์ด๊ณผException๊ฐ์ฒด๋ฅผ ์ทจํ๋ ์ธ ๋ฒ์งธ ํธ์ถ ํ์์ด ์์ต๋๋ค. ๋ฌธ์์ด์ด ์ ๊ณต๋๋ฉด ์ค๋ฅ ๋ฉ์์ง๋ก ์ฌ์ฉ๋ฉ๋๋ค. ๋น์ด ์๋ ๊ฒฝ์ฐException::__toString()์ ๋น์ทํ ํ์์ ๊ธฐ๋ณธ ๋ฌธ์์ด์ด ์๋์ผ๋ก ์์ฑ๋์ด ์ค๋ฅ ๋ฉ์์ง๋ก ์ฌ์ฉ๋ฉ๋๋ค. ์ ๊ณต๋ ์์ธ ๊ฐ์ฒด๋ ์์ธ์ ๋ํ ์คํ ์ถ์ ์ ์์ฑํ๋ ๋ฐ ์ฌ์ฉ๋๋ฏ๋ก, ์์ธ๋ฅผ ํ์ํ ์์ ์ ์คํ ์ถ์ ์ด ์๋ ์์ธ ๋ฐ์ ์์ ์ ์คํ ์ถ์ ์ ๋ณผ ์ ์์ต๋๋ค.newrelic.capture_params = true์ค์ ํ์ฌ ์์ฒญ ์บก์ฒ ์บก์ฒ๋ฅผ ํ์ฑํํ๋ฉด ์ด์ newrelic.ignored_params์ผํ๋ก ๊ตฌ๋ถ๋ ๋ฏผ๊ฐํ ๋งค๊ฐ๋ณ์ ๋ชฉ๋ก์ผ๋ก ์ค์ ํ์ฌ ๋ด๋ ๋ฆญ์ผ๋ก ์ ์ก๋๋ ๋ชจ๋ ๋ฐ์ดํฐ์์ ์ ์ธํ ์๋ ์์ต๋๋ค.CakePHP 2.0์ ๋ํ ์ง์์ด ์ถ๊ฐ๋์๊ณ , CakePHP 1.2์ 1.3 ์ง์์ ์ ์์ธ Mark Story์ ํผ๋๋ฐฑ์ ๋ฐํ์ผ๋ก ์ฝ๊ฐ ๊ฐํธ๋์์ต๋๋ค. CakePHP 1.2 ์ ํ๋ฆฌ์ผ์ด์ ์ ์๋ก์ด ํธ๋์ญ์ ๋ช ๋ช ๋ฉ์ปค๋์ฆ ๋๋ถ์ ๋ด๋ ๋ฆญ์ด ํ์ฑํ๋๋ฉด ์๋นํ ๋ ๋นจ๋ผ์ง ๊ฒ์ ๋๋ค. ๋ํ ์ฌ์ฉ์ ์ ์ ๋์คํจ์ฒ ํด๋์ค๋ฅผ ๊ตฌํํ ๊ฒฝ์ฐ์๋ ํธ๋์ญ์ ์ด๋ฆ์ด ์ฌ๋ฐ๋ฅด๊ฒ ์ง์ ๋๋๋ก ๋ณด์ฅํฉ๋๋ค.
์ด์ MongoDB๊ฐ
update๋ช ๋ น์ ์ฌ๋ฐ๋ฅด๊ฒ ๊ณ์ธกํ์ต๋๋ค.๊ฐ์ฅ ์ค์ํ ๋ ๊ฐ์ง ํธ์ถ์ธ
oci_parse()๋ฐoci_execute().์ ๋ํ ์์ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ๋ํ ์ง์์ด ์ถ๊ฐ๋์์ต๋๋ค. ํ์ฌ ๋ค๋ฅธ OCI ํธ์ถ์ ๋ฆฌ์์ค๊ฐ ์์ต๋๋ค.์ธ๊ทธ๋จผํ ์ด์ ์๋ฐ์ ์ผ์ผํฌ ์ ์๋ ๋ฒ๊ทธ๊ฐ ์์ ๋์์ต๋๋ค.
์์ด์ ํธ์ ์ค๋ฒํค๋๋ฅผ ๋์ฑ ์ค์ด๋ ์ฌ๋ฌ ๊ฐ์ง ์ฑ๋ฅ ๊ฐ์ ์ฌํญ์ด ์์ต๋๋ค.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- New feature: slow SQL. This is very similar to transaction traces but instead records the 10 slowest SQL statements, along with a stack trace of where the SQL was executed from in your program.
- Fixed a bug in the automatic insertion of RUM headers and footers where they could sometimes be inserted multiple times (especially the footer).
- The "Drupal Modules" feature can now be enabled and disabled on a per-directory basis like most other configuration settings.
- A few minor bug fixes that had the potential for causing random agent crashes, although these were very infrequent.
้่ฆ
The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.
Notes:
- Very minor change to change the KB URL paths in error messages and to correct the LICENSE.txt file to include the full copyright and permissions notices for various open source components used withing the agent.