The watches documentations describes how to change a consul agent’s configuration to register a new watch. I assume this requires changing the agent configuration file stored on the agent’s host and then force the agent to reload the configuration.
Is it possible to register a watch through REST APIs? I would like to register a watch remotely, without accessing the machine hosting the Consul agent.
Also, a single agent watching a service’s health can be a single point of failure. If I register the same watch on multiple agents, I assume all of them will execute the associated action (and it will be up to me to synchronize/serialize the executions). Is it correct?