firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/clickhouse/collect_system_parts.go

Summary

Maintainability
A
1 hr
Test Coverage

Method ClickHouse.collectSystemParts has 52 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (c *ClickHouse) collectSystemParts(mx map[string]int64) error {
    req, _ := web.NewHTTPRequest(c.RequestConfig)
    req.URL.RawQuery = makeURLQuery(querySystemParts)

    seen := make(map[string]*tableStats)
Severity: Minor
Found in src/go/plugin/go.d/modules/clickhouse/collect_system_parts.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status