New question #199769 on Graphite: https://answers.launchpad.net/graphite/+question/199769
I have written an aggregation rule to do sum on the incoming metrics from different hosts. Somehow this is not working. I am quite a newbie and please forgive my question if this is quite stupid :-) Any help would be really great. Do i need to have carbon-relay running to do aggregation? Who forwards the metric from carbon-cache to carbon-aggregator? Who should be connecting to the port 2023/2024? [vimau conf]$ cat aggregation-rules.conf stats.gauges.qps.widget.all.nginx.access (60) = sum stats.gauges.qps.widget.*.nginx.access [vimau conf]$ My metric name is correct because i am able to see the whisper file properly (when i formulate the path by replacing '.'s with '/') ../storage/whisper/stats/gauges/qps/widget/domU-x.x.x.x_compute-1_internal/nginx/access.wsp ../storage/whisper/stats/gauges/qps/widget/ip-x.x.x.x_internal/nginx/access.wsp [vimau conf]$ grep -v ^# carbon.conf | grep -v '^$' [cache] GRAPHITE_ROOT = /opt/graphite STORAGE_DIR = /opt/graphite/storage/ LOCAL_DATA_DIR = /opt/graphite/storage/whisper/ WHITELISTS_DIR = /opt/graphite/storage/lists/ CONF_DIR = /opt/graphite/storage/conf/ LOG_DIR = /opt/graphite/storage/log/ PID_DIR = /opt/graphite/storage/ LOCAL_DATA_DIR = /opt/graphite/storage/whisper/ USER = MAX_CACHE_SIZE = inf MAX_UPDATES_PER_SECOND = 500 MAX_CREATES_PER_MINUTE = 50 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 CACHE_QUERY_PORT = 7002 USE_FLOW_CONTROL = True LOG_UPDATES = False WHISPER_AUTOFLUSH = False [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_DATAPOINTS_PER_MESSAGE = 500 MAX_QUEUE_SIZE = 10000 USE_FLOW_CONTROL = True [aggregator] LINE_RECEIVER_INTERFACE = 0.0.0.0 LINE_RECEIVER_PORT = 2023 PICKLE_RECEIVER_INTERFACE = 0.0.0.0 PICKLE_RECEIVER_PORT = 2024 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 [vimau conf]$ -- You received this question notification because you are a member of graphite-dev, which is an answer contact for Graphite. _______________________________________________ Mailing list: https://launchpad.net/~graphite-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~graphite-dev More help : https://help.launchpad.net/ListHelp

