Sha256: 5a390ee09a19c7bcc8a004a17bcdba35f67aa4c0f55f2d555c65af5ebb0b9b57
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 KB
Contents
# Healthcheck In service oriented architecture happens that you have a lot of services. They can crash sometimes on Heroku or else where you host them. This gem will help to quickly check their heart beat. ## Installation $ gem install soa_doctor ## Usage If you install the gem it'll give the executable: $ healthcheck --help For example you have YAML file with your services listed: services: google: "http://google.com" yahoo: "http://yahoo.com" yandex: "http://yandex.com" So you do $ healthcheck -f you_yaml_file.yaml The output would be a table or services and their statuses. P.S: One more note, since soa_doctor uses escort it stores a ~/.healthcheck file at your home dir. It looks like this: ```json { "global": { "options": { "file": null, "config": null, "verbosity": "WARN", "error_output_format": "basic" }, "commands": { "escort": { "options": { "create_config": null, "create_default_config": null, "update_config": null, "update_default_config": null }, "commands": { } } } }, "user": { } } ``` You can modify the file dir so it'll pick it up as default. So you can run simply: $ healthcheck And get the desired output. ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soa_doctor-0.0.3 | README.md |