Skip to content

Gathering and visualizing metrics with ZeroMQ, Redis & Graphite

Notifications You must be signed in to change notification settings

briandorsey/metrics_talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metrics_talk

Gathering and visualizing metrics with ZeroMQ, Redis & Graphite

I gave this talk at PyCon Japan in September, 2012.

Video: http://youtu.be/FTGdLnx_ep0?t=3m25s

Server setup

These scripts were tested on Ubuntu server 12.04

Install prerequisites:

$ sudo apt-get install python-redis redis-server
$ sudo apt-get install memcached python-dev python-pip sqlite3 libcairo2 libcairo2-dev python-cairo pkg-config 
$ sudo apt-get install supervisor  

Setting up Graphite

I followed these instructions: http://marcelo-olivas.blogspot.jp/2012/06/installing-graphite-on-ubuntu-1204.html

Also, the example glue scripts send data very frequently, so we need more granularity in the default Round-Robin databases. Change /opt/graphite/conf/storage-scemas.conf:

[default_5sec_for_1day]
pattern = .*
retentions = 5s:1d

~

About

Gathering and visualizing metrics with ZeroMQ, Redis & Graphite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages