Avoid port conflict for metrics endpoint#253
Conversation
In the OpenShift integrated case this conflicts with coredns which binds to :::8080, switching to 8085 should avoid this conflict with the default. Fixes: metal3-io#252
dhellmann
left a comment
There was a problem hiding this comment.
According to https://github.com/prometheus/prometheus/wiki/Default-port-allocations and https://prometheus.io/docs/instrumenting/writing_exporters/#port-numbers it looks like we want something in the 9000 range to be like other exporters.
|
Ah thanks @dhellmann I wasn't sure how the ports were assigned so I just chose one which was free in my test environment ;) Seems we need to add the ironic exporter to https://github.com/prometheus/prometheus/wiki/Default-port-allocations then update this again |
Hmm, that page seems to be aimed at exporters. I've added the Ironic Prometheus Exporter, though. |
In the OpenShift integrated case this conflicts with coredns which binds
to :::8080, switching to 8085 should avoid this conflict with the
default.
Fixes: #252