Browse Source

instance format

pull/991/head
Chris Lu 6 years ago
parent
commit
68d1bef236
  1. 2
      weed/stats/metrics.go

2
weed/stats/metrics.go

@ -113,5 +113,5 @@ func SourceName(port int) string {
if err != nil { if err != nil {
return "unknown" return "unknown"
} }
return fmt.Sprintf("%s_%d", hostname, port)
return fmt.Sprintf("%s:%d", hostname, port)
} }
Loading…
Cancel
Save