hashicorp / consul-esm

External service monitoring for Consul
Mozilla Public License 2.0
262 stars 41 forks source link

Make CheckUpdateInterval configurable or document it #267

Open danielehc opened 2 months ago

danielehc commented 2 months ago

Current Issue

When adding new external services to Consul it takes 5+ minutes for them to change status from Failing to Healthy even if

This is confusing and leads to the idea that something is not working in the background.

From my understanding of the code the behavior is due to the CheckUpdateInterval configuration value that:

Proposed solution

To avoid this confusion is either possible:

  1. Allow for the configuration of the CheckUpdateInterval in Consul ESM configuration file
  2. Document the expected behavior in the README mentioning that after adding new nodes to Consul, Consul ESM will take up to 5 minutes to identify them and to start performing checks.