First, add some basic properties in pyproject.toml as laid out in the Python Packaging guide. This helps distribution and such to easier package mqtt-exporter.
Hopefully these are okay as-is.
Second, add a new, pretty straight-forward PROMETHEUS_ADDRESS setting, to be able to specify the address mqtt-exporter should listen on.
Users might want their mqtt-exporter to e.g. just listen on localhost, thereby also reducing the risk of accidentally exposing it to the network.
Fixes/Implement: -
Description:
First, add some basic properties in
pyproject.toml
as laid out in the Python Packaging guide. This helps distribution and such to easier package mqtt-exporter. Hopefully these are okay as-is.Second, add a new, pretty straight-forward
PROMETHEUS_ADDRESS
setting, to be able to specify the address mqtt-exporter should listen on. Users might want their mqtt-exporter to e.g. just listen on localhost, thereby also reducing the risk of accidentally exposing it to the network.Cheers, Christoph