cloudflared-mirror/metrics
Luis Neto e2c2b012f1 TUN-8737: update metrics server port selection
## Summary
Update how metrics server binds to a listener by using a known set of ports whenever the default address is used with the fallback to a random port in case all address are already in use. The default address changes at compile time in order to bind to a different default address when the final deliverable is a docker image.

Refactor ReadyServer tests.

Closes TUN-8737
2024-11-22 07:23:46 -08:00
..
config.go TUN-528: Move cloudflared into a separate repo 2018-07-19 15:02:24 -05:00
metrics.go TUN-8737: update metrics server port selection 2024-11-22 07:23:46 -08:00
metrics_test.go TUN-8737: update metrics server port selection 2024-11-22 07:23:46 -08:00
readiness.go TUN-8737: update metrics server port selection 2024-11-22 07:23:46 -08:00
readiness_test.go TUN-8737: update metrics server port selection 2024-11-22 07:23:46 -08:00