diff --git a/fe/http.go b/fe/http.go index 7e96f47b6ee69784aa9ab39befd72b2aa8f2dd29..ef0cf79eb6ac138ce4fa150a4fe4cbb2b7a3742f 100644 --- a/fe/http.go +++ b/fe/http.go @@ -116,7 +116,7 @@ func (h *HttpRedirector) serveRelay(w http.ResponseWriter, r *http.Request) { http.Error(w, "No active nodes", http.StatusServiceUnavailable) return } - httpTargetStats.IncrVar(relayAddr) + httpTargetStats.IncrVar(ipToMetric(relayAddr)) // Create the m3u response. m3u := fmt.Sprintf("http://%s%s\n", makeIcecastUrl(relayAddr), mount.Name)