https://github.com/xenit-eu/docker-carbon
https://github.com/xenit-eu/docker-carbon
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xenit-eu/docker-carbon
- Owner: xenit-eu
- Created: 2019-11-13T10:23:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T08:44:51.000Z (8 months ago)
- Last Synced: 2024-12-28T00:42:42.313Z (7 months ago)
- Language: Java
- Size: 62.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
This docker provides access to the Carbon/whisper layer of the graphite stack, inline with the one process per docker philosophy.
It is the intent to run this together with the hub.xenit.eu/graphiteweb, hub.xenit.eu/statsd and grafana dockers.
Make sure to map the whisper volume to the host for persistence of data.
Example
docker run -d -v $PWD/whisper/:/opt/graphite/storage/whisper/ hub.xenit.eu/carbon
Default aggregation configuration is used, including 10 second periods for statsd. Override these in any derived dockers by replacing the storage-aggregation.conf and storage-schemas.conf configuration files.The following two environment variables override the default behavior:
MAX_UPDATES_PER_SECOND: Overrides the max amount of writebacks per second to storage.
WHISPER_AUTOFLUSH: Default False. When set to True, carbon will do the buffering, not the kernel.
MAX_CREATES_PER_MINUTE: Overrides the number of whisper files that get created each minute.
Example with the environment variables set at non-default values:
docker run -d -v $PWD/whisper/:/opt/graphite/storage/whisper/ -e MAX_UPDATES_PER_SECOND=10 -e WHISPER_AUTOFLUSH=False hub.xenit.eu/carbon -e MAX_CREATES_PER_MINUTE=100