Skip to content

Make CheckUpdateInterval configurable or document it #267

@danielehc

Description

@danielehc

Current Issue

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

  • the node_probe_interval in Consul ESM configuration is set to 10s
  • the Service.Check.Interval in the service configuration is set to 10s

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:

  • Is not configurable from the configuration file
  • Is not documented on the Github repository

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions