strimzi / metrics-reporter

Prometheus Metrics Reporter for Apache Kafka server and client compoenents
Apache License 2.0
4 stars 7 forks source link

Change port configuration to listener #3

Closed mimaison closed 6 months ago

mimaison commented 7 months ago

Currently the reporters have a port configuration. As per the proposal, the reporters should expose a listener configuration:

prometheus.metrics.reporter.listener: The listener to expose the metrics in the format http://<HOST>:<PORT>. If the <HOST> part if empty the listener binds to the default interface, if it is set to 0.0.0.0, the listener binds to all interfaces. If the <PORT> part is set to 0, a random port is picked. Default: http://:8080.
mimaison commented 6 months ago

Done in https://github.com/strimzi/metrics-reporter/pull/16