Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior of relay while downstream servers are down #421

Open
mmueller101 opened this issue Sep 1, 2020 · 4 comments
Open

Behavior of relay while downstream servers are down #421

mmueller101 opened this issue Sep 1, 2020 · 4 comments

Comments

@mmueller101
Copy link

While down stream servers are being rebooted is there a way for the relay to be able to queue metrics to that device until it comes back up? What is the desired behavior for the relay in theses types of situations to save metrics?

@grobian
Copy link
Owner

grobian commented Sep 2, 2020

That depends on the cluster type you're using. any_of or failover typically try not to queue metrics up, but any of the xxxx_ch clusters will queue up until overflow.

@mmueller101
Copy link
Author

I am using the fnv1a cluster type. During some tests of a downstream go-carbon going down for a minute I immediately saw metrics being dropped by the relay. I was expecting behavior similar to what you stated above, metrics queuing up until go-carbon came back up? Is there something else that I should have configured to allow this type of behavior? Thanks for the quick response.

@deniszh
Copy link

deniszh commented Sep 2, 2020

@mmueller101 : you need to configure some gigantic buffer in relay for that. But I would recommend to use specialized proxy for that - https://github.com/leoleovich/grafsy

@mmueller101
Copy link
Author

Nice. This looks like the answer here. I'll start testing this out. Thank you @deniszh .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants