master able to list all master clients by type

This commit is contained in:
Chris Lu
2020-03-01 22:13:47 -08:00
parent 0ca68a2a6d
commit 6a8484b4ae
14 changed files with 353 additions and 206 deletions

View File

@@ -136,7 +136,7 @@ func LoopPushingMetric(name, instance string, gatherer *prometheus.Registry, fnG
}
}
func SourceName(port int) string {
func SourceName(port uint32) string {
hostname, err := os.Hostname()
if err != nil {
return "unknown"