diff --git a/README.md b/README.md index 2edea62..e2ecfe8 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,12 @@ scrape_configs: refresh_interval: 10m ``` +To scrape the containers add following docker labels to them: + +* `PROMETHEUS_EXPORTER_PORT` specify the container port where prometheus scrapes (mandatory) +* `PROMETHEUS_EXPORTER_SERVER_NAME` specify the hostname here, per default ip is used (optional) +* `PROMETHEUS_EXPORTER_PATH` specify alternative scrape path here (optional) + That's it. You should begin seeing the program scraping the AWS APIs and writing the discovery file (by default it does that every minute, and by default Prometheus will reload the