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

Add a check for the running version #10

Open
fabioperrella opened this issue Jun 28, 2019 · 0 comments
Open

Add a check for the running version #10

fabioperrella opened this issue Jun 28, 2019 · 0 comments

Comments

@fabioperrella
Copy link
Contributor

In Heartcheck there is the check watch_file which can be used to know if the running version is the same as the files that exist in the filesystem, like this:

monitor.add :watch_file do |config|
  config.name = 'version'
  config.add_service(file: Rails.root.join('version.json'))
end

I think there could be a similar check for Sidekiq because it runs in a different process than the web one, so it is not covered by the check above.

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