hod / rocketeer-newrelic
Newrelic notification plugin for rocketeer
Installs: 18 435
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
- anahkiasen/rocketeer: ^2.2
- guzzlehttp/guzzle: 6.2.*
- illuminate/support: ~4.2
Requires (Dev)
- mockery/mockery: 0.9.*
- phpunit/phpunit: ~4.4
This package is not auto-updated.
Last update: 2024-11-05 04:32:38 UTC
README
This plugin allows you to configure a deployment to a specific target to notify a NewRelic account that you have just completed a deployment. This can be a handy tool for tracking your deployments and updating your monitoring systems so you can see performance metrics before and after.
Install
To setup add this to your composer.json
and update :
"hod/rocketeer-newrelic": "dev-master"
In your applications .rocketeer/config.php, add Rocketeer\Plugins\Newrelic\RocketeerNewrelic
to the plugin array.
Fill out the configuration as outlined in Usage below and you are ready to go.
Usage
- To insert configuration into userland, run
rocketeer plugin:config hod/rocketeer-newrelic
- Add at a minimum your API key, and the Newrelic application ID (or ID's in case you are deploying 2 or more applications at once) you wish to notify upon deploy
- Define the environment target it should run on. This matches your --on='env' tag when you deploy.
- Add optional extras like user, description of release and the version.
Testing
$ phpunit
License
The MIT License (MIT). Please see License File for more information.