src/go/plugin/go.d/modules/clickhouse/collect_system_parts.go
Method ClickHouse.collectSystemParts
has 52 lines of code (exceeds 50 allowed). Consider refactoring. Open
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)