Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xenit-eu/docker-carbon
https://github.com/xenit-eu/docker-carbon
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xenit-eu/docker-carbon
- Owner: xenit-eu
- Created: 2019-11-13T10:23:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T02:49:46.000Z (about 1 year ago)
- Last Synced: 2024-11-07T10:32:29.996Z (about 2 months ago)
- Language: Java
- Size: 63.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
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