Feature: Automatic Central Registration of Instances #30
Labels
area/target-manager
Issues/PRs related to the TargetManager
feature
Introduces a new feature
request/internal
Indicates an internal feature request
Milestone
Is there an existing feature request for this?
Problem Description
Sparrow instance can be spawned automatically. Other instances need to be configured (runtime config for checks) to know about this newly spawned instance.
Solution Description
Not 100% defined yet. A list needs to be available with all running sparrow instances incl. domain names. The checks should perform health & latency checks to all instances.
After a brainstorming session we came to the following conclusion:
Sparrow
will read & update (registration & liveness update) periodically. Those will serve as a list ofglobalTargets
for eachCheck
.{"url": "pipapo", "lastSeen": "goland timestamp UTC"}
Sparrow
. It should just fail after a few retries and try again later.Sparrow
will either pass theglobalTargets
periodically down to theCheck
instances, OR theCheck
instances will get theglobalTargets
from theSparrow
themselves (possibly before running the check).Sparow
should decide whether aglobalTarget
is healthy/not and remove it from the in-memory list it has.Check
instances should still defineextraTargets
, to add more targets to themselves.Who can address the issue?
Devs
Additional Context
No response
The text was updated successfully, but these errors were encountered: