AOEpeople/TYPO3-Newrelic

Name: TYPO3-Newrelic

Owner: AOE

Description: Allows to configure appname and sets specific transaction names for Newrelic by using the PHP API: https://docs.newrelic.com/docs/php/the-php-api

Forked from: AOEmedia/TYPO3-Newrelic

Created: 2015-06-25 07:53:35.0

Updated: 2016-05-20 09:07:20.0

Pushed: 2016-05-20 09:07:49.0

Homepage: null

Size: 16

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TYPO3 Extension

Allows to configure the Newrelic appname and sets specific transaction names for Newrelic by using the PHP API: https://docs.newrelic.com/docs/php/the-php-api

Default Transaction Names

The following transaction names are set in the extension:

All names may be postfixed by:

Extra Metrics

Custom/MemoryUsage/RealSize Custom/MemoryUsageExtracache/RealSize

Extra Parameters (for Trace view)

TYPO3-NOCACHE
TYPO3-INTincScript
TYPO3-ClientCacheable

Usage In Extensions
ou may want to set a custom transaction name:
vice = TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('\AOE\Newrelic\Service');
vice->setTransactionNameOverride('Product Single View');

 just append something to the default name:
vice->addTransactionNamePostfix('LOGGEDIN');

 add extra metrcis or parameters:
vice->setCustomParameter('UserGroup',$group);
vice->setCustomMetric('MyApi','TransactionTime',$time);

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.