Server lobby is simple server/service discovery tool based on NATS messenging daemon.
It's a stateless tool that gathers labels other servers share in their discovery messages in a common NATS subject.
daemon | ||
server | ||
.gitignore | ||
go.mod | ||
go.sum | ||
README.md |
TODO
- filtering based on labels
- Output for prometheus
https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config
This should be implemented as a template in /etc/lobby/templates - labels in directory /etc/lobby/labels One file per one label
- Deregistration
- Deregister when the daemon exists
- Separate the NATS code so it can support multiple backend/drivers
- Documentation
- Tests