a recursive dns resolver
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove pid from instance id

+2 -4
+2 -4
pkg/metrics/middleware.go
··· 23 23 hostname = "unknown-host" 24 24 } 25 25 26 - pid := os.Getpid() 27 - 28 26 if version != "" { 29 - instanceID = fmt.Sprintf("%s-%d-%s", hostname, pid, version) 27 + instanceID = fmt.Sprintf("%s-%s", hostname, version) 30 28 } else { 31 - instanceID = fmt.Sprintf("%s-%d-dev", hostname, pid) 29 + instanceID = fmt.Sprintf("%s-dev", hostname) 32 30 } 33 31 } 34 32