An experimental graphite-web alternative.
- redis for caching metric names and configs for ephemeral graph links
- An S3 bucket for storage for persistent graph images
- pip install -r requirements.txt
- Set up local_settings.py (see below)
- ./store_metrics.py
- env FLASK_DEBUG=true ./manage.py runserver
CARBON_SHARDS = ["localhost"] # Typically you'll just list your Graphite server unless you have a cluster of carbon-caches. Then list them all here as hostname:port pairs.
GRAPHITE_HOST = "localhost" # This should be obvious.
AWS_ACCESS_KEY_ID = "CHANGE_THIS" # Your S3 access key
AWS_SECRET_ACCESS_KEY = "CHANGE_THIS" # Your S3 secret key
AWS_BUCKET_NAME = "your-bucket-name" # S3 bucket name
# Don't change the dimensions but feel free to add other graphite rendering options such as colors, etc. Most can be set in the web interface, though.
GRAPHITE_OPTIONS = {
"width": 1170,
"height": 500
}