Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
use official graphite image
Browse files Browse the repository at this point in the history
so we have latest functions available like groupByNodes
  • Loading branch information
Dieterbe committed Apr 10, 2018
1 parent 49f2631 commit f05deab
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 17 deletions.
64 changes: 50 additions & 14 deletions docker/docker-cluster/carbon.conf
Original file line number Diff line number Diff line change
@@ -1,23 +1,59 @@
[cache]
USER = carbon
CACHE_WRITE_STRATEGY = max
DATABASE = whisper
ENABLE_LOGROTATION = True
USER =
MAX_CACHE_SIZE = inf
USE_FLOW_CONTROL = True
WHISPER_FALLOCATE_CREATE = True
MAX_CREATES_PER_MINUTE = 5000
MAX_UPDATES_PER_SECOND = 5000
MAX_CREATES_PER_MINUTE = 5000
MIN_TIMESTAMP_RESOLUTION = 1
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
ENABLE_UDP_LISTENER = False
UDP_RECEIVER_INTERFACE = 0.0.0.0
UDP_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004
USE_INSECURE_UNPICKLER = False
CACHE_QUERY_INTERFACE = 0.0.0.0
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = True
LOG_LISTENER_CONNECTIONS = True
CACHE_QUERY_PORT = 7002
USE_FLOW_CONTROL = True
LOG_UPDATES = False
ENABLE_LOGROTATION = True
LOG_CREATES = False
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = False
CACHE_WRITE_STRATEGY = max
WHISPER_AUTOFLUSH = False

[cache:1]
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_PORT = 2004
CACHE_QUERY_PORT = 7002
WHISPER_FALLOCATE_CREATE = True
CARBON_METRIC_INTERVAL = 10
GRAPHITE_URL = http://127.0.0.1:8080
[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014
RELAY_METHOD = rules
REPLICATION_FACTOR = 1
DESTINATIONS = 127.0.0.1:2004
MAX_QUEUE_SIZE = 10000
MAX_DATAPOINTS_PER_MESSAGE = 500
QUEUE_LOW_WATERMARK_PCT = 0.8
TIME_TO_DEFER_SENDING = 0.0001
USE_FLOW_CONTROL = True
CARBON_METRIC_INTERVAL = 10
USE_RATIO_RESET=False
MIN_RESET_STAT_FLOW=1000
MIN_RESET_RATIO=0.9
MIN_RESET_INTERVAL=121
[aggregator]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2023
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2024
FORWARD_ALL = True
DESTINATIONS = 127.0.0.1:2004
REPLICATION_FACTOR = 1
MAX_QUEUE_SIZE = 10000
USE_FLOW_CONTROL = True
MAX_DATAPOINTS_PER_MESSAGE = 500
MAX_AGGREGATION_INTERVALS = 5
CARBON_METRIC_INTERVAL = 10
2 changes: 1 addition & 1 deletion docker/docker-cluster/datasources/monitoring
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"monitoring",
"type":"graphite",
"url":"https://graphitemon:443",
"url":"http://graphitemon",
"access":"proxy",
"isDefault":false
}
4 changes: 2 additions & 2 deletions docker/docker-cluster/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ services:
# easiest to just use a separate graphite server for monitoring
graphitemon:
hostname: graphitemon
image: raintank/graphite-stack
image: graphiteapp/graphite-statsd
ports:
- "2003:2003"
- "443:443"
- "80:80"
volumes:
- "./carbon.conf:/opt/graphite/conf/carbon.conf"
- "./graphite-storage-schemas.conf:/opt/graphite/conf/storage-schemas.conf"
Expand Down

0 comments on commit f05deab

Please sign in to comment.