Add log message that the server is on

This commit is contained in:
Owen
2025-10-16 20:42:02 -07:00
parent bda1d04f67
commit d63d8d6f5e

View File

@@ -391,6 +391,7 @@ func main() {
}
if tel != nil {
// Admin HTTP server (exposes /metrics when Prometheus exporter is enabled)
logger.Info("Starting metrics server on %s", tcfg.AdminAddr)
mux := http.NewServeMux()
mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) { w.WriteHeader(200) })
if tel.PrometheusHandler != nil {