Prerequisites
- An Argus deployment your process can reach
- Catalog entries for the services you will call
- This project’s public and service ports reachable at the URLs Argus will store
Steps
1. Enable Argus in config
url and env are required when enabled. Username and password are both set or both omitted. Optional public and service override catalog keys (defaults: name and <name>-service).
Restart after enabling Argus. The first registration runs before listen; failure stops startup.
2. Call another service
<name>-service key. The HTTP method is always POST. An omitted body becomes {}.
3. Handle failures
Calling while Argus is disabled throwsDependencyNotMet. No healthy instance, unknown catalog name, or a failed downstream status throws ServiceCallError.
Done
This process registers with Argus and can POST throughcallService. Fields and registration payload: Argus. Why two ports matter: Two servers.