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

Configurable frequency of health check output updates #157

Closed
armon opened this issue May 16, 2014 · 2 comments · Fixed by #204
Closed

Configurable frequency of health check output updates #157

armon opened this issue May 16, 2014 · 2 comments · Fixed by #204
Labels
type/enhancement Proposed improvement or new feature

Comments

@armon
Copy link
Member

armon commented May 16, 2014

Currently, if a health check's output changes, the new output is immediately written to the catalog. If the check does not change state (stays passing), but has output that varies (includes timestamp, variable output, etc), then this causes lots of useless writes.

This reduces scalability and causes the blocked queries to return rapidly with idempotent writes. Instead, if a check does not change state, we should be able to reduce the frequency of updates. This means the health output will be relatively up-to-date for a stable check, and immediately up-to-date for a recently changed check. The upside is much reduced writes.

@andrewwatson
Copy link
Contributor

oh, is that what the output field in the UI is? I hadn't made that connection yet! 😄

@armon
Copy link
Member Author

armon commented Jun 8, 2014

Yeah, the Output captures the stdout/stderr of a health check, while Notes are just human readable description an operator inputs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Proposed improvement or new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants