@cryptotaxi247 / netdata-1 / commits / ffe87dc93

go.d replace colon in job name (#17967)

Ilya Mashchenko committed Jun 20, 2024 at 11:28 UTC ffe87dc930d04fad0eeb51fb1f85beca93701719
1 file changed +1 -1
src/go/collectors/go.d.plugin/agent/confgroup/config.go
+1 -1
@@ -125,7 +125,7 @@ func (c Config) ApplyDefaults(def Default) {
125 }
126 }
127
128 -var reInvalidCharacters = regexp.MustCompile(`\s+|\.+`)
128 +var reInvalidCharacters = regexp.MustCompile(`\s+|\.+|:+`)
129
130 func cleanName(name string) string {
131 return reInvalidCharacters.ReplaceAllString(name, "_")