djoos / newrelic_beanstalkd_plugin

New Relic Beanstalkd plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Download the latest release to the location you want to run the Beanstalkd agent from
  2. Run bundle install in the folder you downloaded the agent to
  3. Copy config/newrelic_plugin.yml.dist to config/newrelic_plugin.yml
  4. Edit config/newrelic_plugin.yml and replace 'YOUR_LICENSE_KEY_HERE' with your New Relic license key
  5. Configure the servers to monitor under the servers collection in the config file

Running Locally

  1. Run bundle install
  2. Run ./bin/newrelic_beanstalkd

Running via Docker

  1. Run docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.1 bundle install
  2. Run docker build -t newrelic-beanstalkd-plugin .
  3. 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!

About

New Relic Beanstalkd plugin


Languages

Language:Ruby 100.0%