valeriansaliou / vigil

🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
https://crates.io/crates/vigil-server
Mozilla Public License 2.0
1.7k stars 125 forks source link

If a `[[probe.service.node]]` has a duplicate `id` value, panic on start #96

Closed valeriansaliou closed 3 years ago

valeriansaliou commented 3 years ago

Currently, if two [[probe.service.node]] share the same ID, the first node to hold that identifier will not appear at all. Will it also be probed?

We should not allow that, and should rather panic on starting Vigil if there's a duplicate id. Human error happens.

valeriansaliou commented 3 years ago

Partially addresses #88