From 813386dee2e0bad176a55ef8a6a62e172373bb5d Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 31 Jul 2022 21:28:59 +0200 Subject: move graphite to new cdn repo --- contrib/k8s-emc/_graveyard_/graphite-cm-carbon.yml | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 contrib/k8s-emc/_graveyard_/graphite-cm-carbon.yml (limited to 'contrib/k8s-emc/_graveyard_/graphite-cm-carbon.yml') diff --git a/contrib/k8s-emc/_graveyard_/graphite-cm-carbon.yml b/contrib/k8s-emc/_graveyard_/graphite-cm-carbon.yml new file mode 100644 index 0000000..de5419c --- /dev/null +++ b/contrib/k8s-emc/_graveyard_/graphite-cm-carbon.yml @@ -0,0 +1,55 @@ +kind: ConfigMap +apiVersion: v1 +metadata: + namespace: emc + name: stats-graphite-carbon + labels: + app: graphite + tier: stats +data: + carbon.conf: | + [cache] + + STORAGE_DIR = /srv/data/ + LOCAL_DATA_DIR = /srv/data/whisper/ + CONF_DIR = /srv/config/ + + MAX_CACHE_SIZE = inf + MAX_UPDATES_PER_SECOND = 1000 + # MAX_UPDATES_PER_SECOND_ON_SHUTDOWN = 5000 + + MAX_CREATES_PER_MINUTE = 50 + + LINE_RECEIVER_INTERFACE = 0.0.0.0 + LINE_RECEIVER_PORT = 2003 + + ENABLE_UDP_LISTENER = False + PICKLE_RECEIVER_PORT = 0 + + LOG_LISTENER_CONNECTIONS = True + + CACHE_QUERY_INTERFACE = 127.0.0.1 + CACHE_QUERY_PORT = 7002 + + USE_FLOW_CONTROL = True + + LOG_UPDATES = False + LOG_CACHE_HITS = False + LOG_CACHE_QUEUE_SORTS = True + + CACHE_WRITE_STRATEGY = sorted + WHISPER_AUTOFLUSH = False + + WHISPER_FALLOCATE_CREATE = True + storage-schemas.conf: | + [carbon] + pattern = ^carbon\. + retentions = 60:90d + + [sfive] + pattern = ^sfive\. + retentions = 20s:10d,1m:21d,15m:5y + + [default_1min_for_1day] + pattern = .* + retentions = 60s:1d -- cgit v1.2.3