aboutsummaryrefslogtreecommitdiff
path: root/weed/stats/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/stats/metrics.go')
-rw-r--r--weed/stats/metrics.go2
1 files changed, 1 insertions, 1 deletions
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)
}