Skip to content

Instantly share code, notes, and snippets.

View shaharke's full-sized avatar

Shahar Kedar shaharke

  • RiseUp
  • Tel Aviv, Israel
View GitHub Profile
# update packages
sudo apt-get update
# install python and graphite dependencies
sudo apt-get install -y python python-dev python-virtualenv libevent-dev python-pip python-cairo python-django-tagging python-twisted python-memcache python-pysqlite2
# install web server
sudo apt-get install -y nginx uwsgi uwsgi-plugin-python
# install postgresql and dependencies
@shaharke
shaharke / whisper max archive
Last active February 10, 2018 10:30 — forked from amosshapira/whisper max archive
Example (untested) of tracking maximum value of metric in the past year.
Ref: http://graphite.readthedocs.io/en/latest/config-carbon.html#storage-schemas-conf
storage-schemas.conf:
[year_max]
pattern = yearMax$
retentions = 1m:1d,1d:1y
storage-aggregation.conf: