issue When updating DNS
Hello,
i'am using a DNS entry to send metrics but when i update my records graphite-client still send metrics to old IP. It' should be nice to add the ability to refresh DNS
This is currently on purpose to minimize the overhead on sending metrics. I will have a look into it to see, whether it would be possible to adopt to dns changes without much overhead.
What is your use case here? Just occasional dns changes or something special (dns load balancing, etc.)?
Hi Tks for your answer
My use is case is having multiple graphite servers with fail-over. When a Graphite server server goes down the dns entry is updated to another one. This is not happen often but in case of failure i don't want to have to restart my graphite-client or wait too much time. i think that having a parameter to say gethostbyname every X min should be nice
:+1:
I suspect that the client also doesn't deal correctly with network issues. It should also close and re-open the connection periodically (collectd does that every 5 minutes).
no more needed