In our case Prometheus itself is listening on port 9090, so the default port could not be used. This PR adds support for customizing the port while retaining the backwards compatibility.
This is my first ever contribution in Go, so please point me in the right direction if the way this was implemented was not optimal.
In our case Prometheus itself is listening on port 9090, so the default port could not be used. This PR adds support for customizing the port while retaining the backwards compatibility.
This is my first ever contribution in Go, so please point me in the right direction if the way this was implemented was not optimal.