yii2-newrelic Yii2 Newrelic instrumentation

  1. Requirements
  2. Usage
  3. Resources

This extension describes routes, action params and instruments views with newrelic end user monitoring scripts. Supports console and web applications

Requirements

Works with newrelic agent with version >=3.0

Usage

To use this extension, you have to configure your components & bootstrap section your application configuration:

return [
    'bootstrap' => ['newrelic'],
    'components' => [
        // ...
        'newrelic' => [
            'class' => 'bazilio\yii\newrelic\Newrelic',
            'name' => 'My App Frontend', // optional, uses Yii::$app->name by default
            'handler' => 'class/name', // optional, your custom handler
            'licence' => '...' // optional
        ]
    ],
];

Resources

0 0
3 followers
0 downloads
Yii Version: 2.0
License: MIT
Category: Logging
Tags: newrelic
Developed by: bazilio91
Created on: Jun 2, 2015
Last updated: 9 years ago

Related Extensions