Monitoring with Prometheus

To allow your Prometheus instance to scrape metrics from unFTP you have to enable unFTP's HTTP interface. This is done by specifying an HTTP bind address with the --bind-address-http argument or the UNFTP_BIND_ADDRESS_HTTP environment variable. For example if you do:

unftp \
  --bind-address= \
  --bind-address-http= \

Your will have Prometheus metrics exposed on all IP addresses and port 8080 at endpoint http://../metrics.

Doing this will also expose an unFTP service information page at the HTTP root path.

Powered by Doctave