Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 727 Bytes

newrelic.md

File metadata and controls

38 lines (25 loc) · 727 Bytes

New Relic recipe

Installing

// deploy.php

require 'vendor/deployer/recipes/newrelic.php';

Configuration options

  • newrelic (required): accepts an array with the license key for you new relic application and its application_id or app_name.
// deploy.php

set('newrelic', [
    'license'        => 'xad3...',
    'application_id' => '12873',
    // or
    'app_name' => 'your_app_name'
]);

Tasks

  • deploy:newrelic Notifies New Relic of a new deployment

Suggested Usage

Since you should only notify New Relic of a successfull deployment, the deploy:newrelic task should be executed right at the end.

// deploy.php

before('deploy:end', 'deploy:newrelic');