graphite-client icon indicating copy to clipboard operation
graphite-client copied to clipboard

issue When updating DNS

Open ctrl78 opened this issue 9 years ago • 3 comments

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

ctrl78 avatar Jun 10 '16 13:06 ctrl78

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.)?

peschuster avatar Jun 15 '16 10:06 peschuster

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

ctrl78 avatar Jun 16 '16 07:06 ctrl78

:+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).

iksaif avatar Oct 06 '17 10:10 iksaif

no more needed

ctrl78 avatar Mar 02 '23 15:03 ctrl78