in docker_image/telemetry/main.go [108:119]
func filterSources() []*regexp.Regexp {
var sources []*regexp.Regexp
for i := 0; true; i++ {
regex := os.Getenv(fmt.Sprintf("SOURCE_REGEX_%d", i))
if regex == "" {
break
}
compile := regexp.MustCompile(regex)
sources = append(sources, compile)
}
return sources
}