diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-06-16 21:57:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-06-16 21:57:32 -0700 |
| commit | 68d1bef23671f353f65d89b73907edf5ce6918fc (patch) | |
| tree | fa926abe80a732b73e8c0d2b1966aaa522dea684 /weed/stats/metrics.go | |
| parent | 935639b9086b625fc7006874c6ee491293748f1d (diff) | |
| download | seaweedfs-68d1bef23671f353f65d89b73907edf5ce6918fc.tar.xz seaweedfs-68d1bef23671f353f65d89b73907edf5ce6918fc.zip | |
instance format
Diffstat (limited to 'weed/stats/metrics.go')
| -rw-r--r-- | weed/stats/metrics.go | 2 |
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) } |
