Instead of having to manually modify the listen_addr in /usr/local/etc/crowdsec/config.yaml, it would be nice to be able to control the listening address for the Prometheus metrics endpoint exporter.
In my setup, my Prometheus server runs in a container on a specific subnet, and exposing 127.0.0.1 doesn't allow it to hit the /metrics endpoint.
This capability already exists for the LAPI endpoint via the UI.
Instead of having to manually modify the
listen_addr
in/usr/local/etc/crowdsec/config.yaml
, it would be nice to be able to control the listening address for the Prometheus metrics endpoint exporter.In my setup, my Prometheus server runs in a container on a specific subnet, and exposing 127.0.0.1 doesn't allow it to hit the /metrics endpoint.
This capability already exists for the LAPI endpoint via the UI.