← Back to team overview

graphite-dev team mailing list archive

Re: [Question #629244]: graphite metrics issue

 

Question #629244 on Graphite changed:
https://answers.launchpad.net/graphite/+question/629244

    Status: Answered => Solved

Shashank  confirmed that the question is solved:
Hi  denis,

here are my carbon.conf file and carbon-c-relay.conf files

carbon.conf

[cache]
DATABASE = whisper
ENABLE_LOGROTATION = True
USER = apache
PID_DIR = /var/run
MAX_CACHE_SIZE = inf
MAX_UPDATES_PER_SECOND = inf
MAX_CREATES_PER_MINUTE = inf
MIN_TIMESTAMP_RESOLUTION = 1
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 20030
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 = 20040
USE_INSECURE_UNPICKLER = False
CACHE_QUERY_INTERFACE = 0.0.0.0
CACHE_QUERY_PORT = 7002
USE_FLOW_CONTROL = True
LOG_UPDATES = False
LOG_CREATES = False
LOG_CACHE_HITS = False
LOG_CACHE_QUEUE_SORTS = False
CACHE_WRITE_STRATEGY = sorted
WHISPER_AUTOFLUSH = False
WHISPER_FALLOCATE_CREATE = True

[cache:a]
LINE_RECEIVER_PORT = 20031
PICKLE_RECEIVER_PORT = 20131
CACHE_QUERY_PORT = 20231

[cache:b]
LINE_RECEIVER_PORT = 20032
PICKLE_RECEIVER_PORT = 20132
CACHE_QUERY_PORT = 20232

[cache:c]
LINE_RECEIVER_PORT = 20033
PICKLE_RECEIVER_PORT = 20133
CACHE_QUERY_PORT = 20233

[cache:d]
LINE_RECEIVER_PORT = 20034
PICKLE_RECEIVER_PORT = 20134
CACHE_QUERY_PORT = 20234

[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 12003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 12014
PID_DIR = /var/run
RELAY_METHOD = consistent-hashing
REPLICATION_FACTOR = 1
DESTINATIONS = 0.0.0.0:20131:a, 0.0.0.0:20132:b, 0.0.0.0:20133:c, 0.0.0.0:20134:d       #hostname of my aws machine replaced with 0.0.0.0
MAX_QUEUE_SIZE = inf
MAX_DATAPOINTS_PER_MESSAGE = 65535
QUEUE_LOW_WATERMARK_PCT = 0.8
TIME_TO_DEFER_SENDING = 0.0001
USE_FLOW_CONTROL = True
USE_RATIO_RESET=False
MIN_RESET_STAT_FLOW=1000
MIN_RESET_RATIO=0.9
MIN_RESET_INTERVAL=121


Carbon-c-relay.conf file


cluster new-aws-backend-caches                /// this is the entry of my new aws setup in conf file of c relay 
  carbon_ch
    0.0.0.0:20131=a  0.0.0.0:20132=b  0.0.0.0:20133=c  0.0.0.0:20134=d
  ;
cluster new-aws-backend-relays
  any_of
     0.0.0.0:12003
  ;
match *
  send to
    new-aws-backend-relays
  ;

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.