Coder Social home page Coder Social logo

newrelic_redis_plugin's Introduction

newrelic_redis_plugin

New Relic plugin for Redis in Ruby.

Unlike other plugins, it's simple and dedicated for Redis. Most of the statistics are available and built to run as a daemon with PID file and logging.

Spec

Tested with:

  • Ruby 2.0.0
  • Gem: dante 0.2.0

Installation

  1. Download the latest release
  2. Extract to the location you want to run the agent from
  3. Copy config/template_newrelic_plugin.yml to config/newrelic_plugin.yml
  4. Edit config/newrelic_plugin.yml and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key

Usage

Simply do ./newrelic_redis_agent to run in the foreground. Other command line options are:

  • -d – Run as daemon
  • -c FILE – Designate a config file

Config Options

Few configuration options are available in config/newrelic_plugin.yml.

  • instance_name – Name of the instance that will be listed in New Relic; default: "HOSTNAME:PORT"
  • url – Your Redis server; use "redis://127.0.0.1:6379" as default
  • database – the database in which to lookup 'total keys'; use "db0" as default

Example

agents:
  redis:
    instance_name: MyRedisServer
    url: redis://127.0.0.1:6379
    database: db0

License

MIT

newrelic_redis_plugin's People

Contributors

kenjij avatar kenpropel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.