Settings are either set in Graphite/Carbon configuration (when embedded), via command line flags, or via environment variables.
STORAGE_DIR
: Storage directory to use, currently mostly use to store the cacheBG_DRIVER
: One ofcassandra
(for production) ormemory
(for debug)
This is the main backend for BigGraphite and the one that should be used in production.
BG_CASSANDRA_KEYSPACE
: keyspace to use (default:biggraphite
)BG_CASSANDRA_CONTACT_POINTS
: Cassandra contact points (default:127.0.0.1
)BG_CASSANDRA_PORT
: port to use to contact Cassandra (default:9042
)BG_CASSANDRA_CONNECTIONS
: number of Cassandra workers to use (default:4
)BG_CASSANDRA_TIMEOUT
: default timeout for operations (default:None
)
The in-memory backend can be used during development to make debuging easier.