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

Sidecar should start collectors when server is unavailable #243

Open
bernd opened this issue Jun 29, 2018 · 0 comments
Open

Sidecar should start collectors when server is unavailable #243

bernd opened this issue Jun 29, 2018 · 0 comments

Comments

@bernd
Copy link
Member

bernd commented Jun 29, 2018

Problem description

Starting the sidecar when the graylog server is unavailable doesn't start any collector processes, even if there are generated collector configs available locally.

Whether it makes sense to start collectors when the graylog server is down is debatable, of course. I think it is useful because some collectors are able to buffer messages if the graylog inputs are not available. Also, some collectors might not even send everything to graylog servers but also to other processes. Additionally, in the future there might be separate graylog ingest nodes which can be available while the API server is not.

The sidecar needs to cache the backend information locally to make this possible.

Steps to reproduce the problem

  1. Configure collectors and assign the config to a sidecar
  2. Start sidecar and wait until collectors are started
  3. Stop graylog server
  4. Stop sidecar
  5. Start sidecar ➡️ no collectors will be started

Environment

  • Sidecar Version: 1.0.0-alpha.1-SNAPSHOT (rev 3a319b0)
@bernd bernd added this to the 3.0.0 milestone Jun 29, 2018
@joschi joschi added triaged and removed bug labels Jul 2, 2018
@bernd bernd removed this from the 3.0.0 milestone Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants