diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go index d487768af..ce0af342d 100644 --- a/weed/stats/metrics.go +++ b/weed/stats/metrics.go @@ -113,5 +113,5 @@ func SourceName(port int) string { if err != nil { return "unknown" } - return fmt.Sprintf("%s_%d", hostname, port) + return fmt.Sprintf("%s:%d", hostname, port) }