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

Staleness detection #3

Open
klausman opened this issue Jul 4, 2023 · 0 comments
Open

Staleness detection #3

klausman opened this issue Jul 4, 2023 · 0 comments

Comments

@klausman
Copy link
Owner

klausman commented Jul 4, 2023

Atm, we do not check how old the JSON file is, nor do we export its age. Both could be useful to detect half-process failures (teh NL process exiting, or there being a permission issue for it).

Things we should do:

  • export the JSON file's ctime
  • maybe allow the user to say that the webserver should exit if the JSON file is older than $DURATION, making staleness very obvious on the Prometheus side.
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

1 participant