← Back to team overview

graphite-dev team mailing list archive

Re: [Question #660458]: Missing Metrics in Carbon Cache

 

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

Denis Zhdanov posted a new comment:
Hello Ryan,

That's behavior is quite odd. Graphite is not required that metric should be flushed to disk - metrics should be available directly from carbon cache using carbonlink protocol (CARBONLINK_HOSTS=['127.0.0.1:7002'] by default)
But probably cache in your case is broken, because you're using '127.0.0.1' as a destination, although consistent hash algorithm uses *hostname* as a part of the hashing key. Theoretically, it doesn't matter for RF=2, but... 
So, please change:

 DESTINATIONS = 127.0.0.1:2005, 10.1.1.12:2005

to

 DESTINATIONS = <IP of the node>:2005, 10.1.1.12:2005

This line should be the same (including order) for all cache daemons.

Try also to add
CARBONLINK_HOSTS=['127.0.0.1:7002']
explicitly to local_settings.py on both servers.

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