Using Hydra to monitor services
The HydraMCP web application demonstrates how Hydra services can be monitored. There are two methods of monitoring:
- Read the data hydra services write to Redis
- Use Hydra methods to receive aggregate service data.
The latter method is recommended as it is expected to be more resilient to future underlying changes to how Hydra stores data in Redis.
The follow methods facilitate service introspection and control.
|getServices||Retrieves a list of registered services.|
|findService||Locates a specific service.|
|getServicePresence||Retrieves the presence status of a particular service|
|getServiceHealthAll||Retrieves the health information and health logs for all registered services.|
|makeAPIRequest||Makes an API request to the named service.|
Refer to the end of this document for a complete listing of Hydra functions.