From 3a7662ef0da293cea1e72290e09a6e8eb2278f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sat, 18 Sep 2021 19:43:13 +0200 Subject: [PATCH] README update --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 554d2c6..bd9d38a 100644 --- a/README.md +++ b/README.md @@ -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