From 8e4797f9cc10c9402eef2c20417fa6a7bea6e5b0 Mon Sep 17 00:00:00 2001 From: kev Date: Sat, 27 Jan 2018 16:21:07 +0800 Subject: [PATCH] graphite export 2003/udp --- graphite/data/conf/carbon.conf | 2 +- graphite/docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/graphite/data/conf/carbon.conf b/graphite/data/conf/carbon.conf index d26abbb..24105ec 100644 --- a/graphite/data/conf/carbon.conf +++ b/graphite/data/conf/carbon.conf @@ -100,7 +100,7 @@ LINE_RECEIVER_PORT = 2003 # Set this to True to enable the UDP listener. By default this is off # because it is very common to run multiple carbon daemons and managing # another (rarely used) port for every carbon instance is not fun. -ENABLE_UDP_LISTENER = False +ENABLE_UDP_LISTENER = True UDP_RECEIVER_INTERFACE = 0.0.0.0 UDP_RECEIVER_PORT = 2003 diff --git a/graphite/docker-compose.yml b/graphite/docker-compose.yml index d76a89a..1250ca3 100644 --- a/graphite/docker-compose.yml +++ b/graphite/docker-compose.yml @@ -2,6 +2,7 @@ graphite: image: vimagick/graphite ports: - "2003:2003" + - "2003:2003/udp" - "2004:2004" - "7002:7002" - "8080:8080"