Listing service info
A really nice feature of Hydra is that each application running hydra emits health and presence information. That information can be inspected by any application using hydra.
The hydra-cli program is really just a command-line client running Hydra — which is what powers most of its capabilities.
We can view a list of nodes using the nodes command:
$ hydra-cli nodes
Many hydra-powered apps export API routes. We can view a list of service routes using:
$ hydra-cli routes
You can retrieve the health status of your services using the health command.
$ hydra-cli health
If you specify a service name then you’ll only see the health information for that service.
$ hydra-cli health myservice