README update
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Adam Štrauch 2021-09-18 19:43:13 +02:00
parent 4c0ca7ed6a
commit 3a7662ef0d
Signed by: cx
GPG Key ID: 018304FFA8988F8D
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ When your application cannot support Lobbyd's API it can be configured via callb
The script runs under the same user as lobbyd. When lobbyd starts first thirty seconds (CALLBACK_FIRST_RUN_DELAY) is ignored and then the script is run for first time. After these thirty seconds everything runs in loop based on the changes in the network.
All current discovery packets are passed to the callback script via standard input. It's basically the same input you get if you run `lobbyctl discoveries`.
### Service discovery for Prometheus
Lobbyd has an API endpoint that returns list of targets for [Prometheus's HTTP SD config](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#http_sd_config). That