Beanstalkd plugin
Overview
This plugin will provide metrics from one or more Beanstalkd servers to NewRelic.
Prerequisites
- A NewRelic account
Running Locally
- Ruby
- Bundler
gem install bundler
Running via Docker
- Docker
Installation
The Beanstalkd plugin can be installed manually or automatically with Chef. For Chef support see the New Relic plugin's Chef Cookbook.
Additional information on using Chef with New Relic is available in New Relic's documentation.
First Time Setup Instructions
- Download the latest release to the location you want to run the Beanstalkd agent from
- Run
bundle install
in the folder you downloaded the agent to - Copy
config/newrelic_plugin.yml.dist
toconfig/newrelic_plugin.yml
- Edit
config/newrelic_plugin.yml
and replace 'YOUR_LICENSE_KEY_HERE' with your New Relic license key - Configure the servers to monitor under the servers collection in the config file
Running Locally
- Run
bundle install
- Run
./bin/newrelic_beanstalkd
Running via Docker
- Run
docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.1 bundle install
- Run
docker build -t newrelic-beanstalkd-plugin .
- Run
docker run -d --restart=always newrelic-beanstalkd-plugin
Credits
We relied heavily on ChannelGrabber Gearman NewRelic Plugin for the development of this bundle. Thanks!