firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/tengine/status.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function parseStatusLine has 77 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func parseStatusLine(line string, lineFormat []string) (*metric, error) {
    parts := strings.Split(line, ",")

    // NOTE: only default line format is supported
    // TODO: custom line format?
Severity: Major
Found in src/go/plugin/go.d/modules/tengine/status.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status