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.
- Ruby 2.0.0
- Gem: dante 0.2.0
- Download the latest release
- Extract to the location you want to run the agent from
config/newrelic_plugin.ymland replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
./newrelic_redis_agent to run in the foreground. Other command line options are:
-d– Run as daemon
-c FILE– Designate a config file
Few configuration options are available in
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
agents: redis: instance_name: MyRedisServer url: redis://127.0.0.1:6379 database: db0