src/go/plugin/go.d/modules/tengine/status.go
Function parseStatusLine
has 77 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func parseStatusLine(line string, lineFormat []string) (*metric, error) {
parts := strings.Split(line, ",")
// NOTE: only default line format is supported
// TODO: custom line format?