**What happened**: Inside [cmd/controller/main.go](https://github.com/googleforgames/agones/blob/1ebec5802573e4165ece0594e7d6eaae2ffc01d7/cmd/controller/main.go#L179-L199), [cmd/extensions/main.go](https://github.com/googleforgames/agones/blob/1ebec5802573e4165ece0594e7d6eaae2ffc01d7/cmd/extensions/main.go#L161-L183) and [cmd/allocator/main.go](https://github.com/googleforgames/agones/blob/1ebec5802573e4165ece0594e7d6eaae2ffc01d7/cmd/allocator/metrics.go#L40-L59) there's an opportunity to refactor the setup metric registry exporter logic.