Git Product home page Git Product logo

typo3-newrelic's Introduction

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:
* Base (is the very default transaction name - set in ext_localconf.php)
* Frontend-Pre (is the very default transaction name for the frontend index.php, that is normaly overriden in the rendering process.)
* Frontend-StaticCache (only set for requests that are handled by extracache extension)
* Frontend (all normal TYPO3 FE requests. Additional Parameters and Metrics are set to see memory consumption and cache settings.)
* Backend (TYPO3 Backend requests)
* eID-* (set for all eID hooks)

All names may be postfixed by:
* DirectRequest
* Crawler
* CliMode


Extra Metrics:
=============
Custom/MemoryUsage/RealSize
Custom/MemoryUsageExtracache/RealSize

Extra Parameters (for Trace view):
=============
TYPO3-NOCACHE
TYPO3-INTincScript
TYPO3-ClientCacheable


Usage In Extensions
==================
You may want to set a custom transaction name:
..

$service = t3lib_div::makeInstance('\AOE\Newrelic\Service');
$service->setTransactionNameOverride('Product Single View');

//or just append something to the default name:
$service->addTransactionNamePostfix('LOGGEDIN');

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

typo3-newrelic's People

Contributors

danielpoe avatar

Stargazers

Oliver Klee avatar Felix Bünemann avatar  avatar Jon Klixbüll Langeland avatar Axel Jung avatar

Watchers

Michael Klapper avatar Fabrizio Branca avatar Oliver Klee avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.