From 68d1bef23671f353f65d89b73907edf5ce6918fc Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 16 Jun 2019 21:57:32 -0700 Subject: [PATCH] instance format --- weed/stats/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }