The usecase is that I want multiple consul handlers to run in response to alerts, but perhaps with different flapping-settings / healthchecks / services.
A quick fix would be to run multiple consul-alerts daemons with a configurable prefix. This would mean making the primary key (e.g., consul-alerts) customizable at boot, allowing for multiple alerting daemons to run.
A perhaps better but more extensive solution would be to add namespacing support. I.e. the key tree in consul would look like:
The usecase is that I want multiple consul handlers to run in response to alerts, but perhaps with different flapping-settings / healthchecks / services. A quick fix would be to run multiple consul-alerts daemons with a configurable prefix. This would mean making the primary key (e.g.,
consul-alerts
) customizable at boot, allowing for multiple alerting daemons to run.A perhaps better but more extensive solution would be to add namespacing support. I.e. the key tree in consul would look like:
Perhaps each namespace should be prefixed with "space-" (or something more creative) for backwards compatibility.
The idea is to have each namespace be completely separate (no inheritance etc settings)