Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.
/ redis-statsd Public archive

A simple script which pipes Redis statistics into StatsD

Notifications You must be signed in to change notification settings

zapier/redis-statsd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

redis-statsd

Based on https://github.com/keenlabs/redis-statsd, redis-statsd is a small Python script which pipes Redis statistics (as reported by INFO) into StatsD.

## Usage

$ docker build -t redis-statsd .
$ docker run -e REDIS_HOST=10.0.0.1 -e STATSD_HOST=10.0.0.10 redis-statsd

Available Environment Variables

  • REDIS_HOST: Redis hostname/IP (default: localhost)
  • REDIS_PORT: Redis port; specify multiple instances with comma-separated value (default: 6379)
  • STATSD_HOST: StatsD hostname/IP (default: localhost)
  • STATSD_PORT: StatsD port (default: 8125)
  • STATSD_PREFIX: StatsD prefix; -<port> will be appended if multiple instances specified (default: redis)
  • PERIOD: Polling period in second (default: 30)
  • VERBOSE: Print metrics to stdout (default: false)

About

A simple script which pipes Redis statistics into StatsD

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages