deployer/docs/contrib/newrelic.md
Anton Medvedev 3216576680 Add docs
2021-09-26 15:25:58 +02:00

1.1 KiB
Raw Blame History

newrelic

Source

Installing

Add to your deploy.php

require 'contrib/newrelic.php';

Configuration

  • newrelic_app_id newrelic's app id
  • newrelic_api_key newrelic's api key
  • newrelic_description message to send

Usage

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

after('deploy', 'newrelic:notify');

Configuration

newrelic_app_id

Source

newrelic_description

Source

newrelic_revision

Source

Tasks

newrelic:notify

Source

Notifying New Relic of deployment.