Commit Graph

21 Commits

Author SHA1 Message Date
Adam Štrauch c2ed658aaa
Multiple prometheus services support
continuous-integration/drone/push Build is passing Details
* Prometheus export test
* Version bump to 1.5
2022-02-21 10:20:06 +01:00
Adam Štrauch 55b3376d4c
Reconnect instead of exit when NATS is not available
continuous-integration/drone/push Build is passing Details
2021-12-25 10:38:13 +01:00
Adam Štrauch 6a1ecb80a1
Resolver
continuous-integration/drone/push Build is passing Details
Resolve API endpoint and cli command return list of hostnames
base on given label.
2021-09-20 16:10:52 +02:00
Adam Štrauch a9d7abbdd5
Don't run callback stuff when callback is not configured 2021-09-17 01:36:20 +02:00
Adam Štrauch 709c47af3e
Callback script
Callback is run when there some discovery packet changes.
It can be an update, adding a new one or deleting the old one.
This can be used to perform dynamic configuration of services that
don't support lobby's API.
2021-09-15 16:58:09 +02:00
Adam Štrauch e06a5cc94b
Implementation of change detection
If there is an update in discovery an function is triggered
that can pick it up.
2021-09-11 11:58:27 +02:00
Adam Štrauch 6769b903bc
Mini refactoring 2021-09-09 18:35:32 +02:00
Adam Štrauch 8493c7cb40
Send discovery packet every time a new label is added 2021-09-09 18:25:22 +02:00
Adam Štrauch 58495d59c1
Labels sorting by default and enhancements
Faster building,
disable API fix.
2021-09-07 01:18:17 +02:00
Adam Štrauch 7010316f8f
Redis driver, changing name of the package 2021-09-07 00:46:48 +02:00
Adam Štrauch f7340728be
Dropping 5s waiting to finish everything to 1s 2021-09-06 18:34:38 +02:00
Adam Štrauch c6cb674053
Search by labels and prefixes
Implemented in API and ctl.
2021-09-05 17:30:21 +02:00
Adam Štrauch 471f8bb170
Refactoring of identification code, runtime labels 2021-09-04 22:17:56 +02:00
Adam Štrauch ff7a26e0d4
Removing a comment 2021-09-04 14:59:16 +02:00
Adam Štrauch 4c5cb1bd85
Refactoring
Discovery creation move into server package
Tests for server package
2021-09-04 14:16:14 +02:00
Adam Štrauch 07a70b8285
Small label processing enhancement
No dulicated labels coming from envvars. Possibility to omit port
in the prometheus output.
2021-09-04 00:09:03 +02:00
Adam Štrauch 5461af2902
Prometheus output update, documentation in README 2021-09-02 23:05:57 +02:00
Adam Štrauch c982038c53
NATS driver separated into its own package
* Client mode
2021-09-02 19:22:39 +02:00
Adam Štrauch 68d4fc50a6
Goodbye messages, proper exit handling 2021-09-02 02:13:12 +02:00
Adam Štrauch 53da96ec10
Prometheus support, label based filtering fix 2021-09-01 23:18:52 +02:00
Adam Štrauch 2f3698430b
Initial commit 2021-08-31 16:26:09 +02:00