netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/modules/docker_engine/collect.go

Summary

Maintainability
A
1 hr
Test Coverage

Function collectSwarmManager has 68 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func collectSwarmManager(mx *metrics, raw prometheus.Series) {
    v := raw.FindByName("swarm_manager_configs_total").Max()
    mx.SwarmManager.Configs = v

    v = raw.FindByName("swarm_manager_networks_total").Max()
Severity: Minor
Found in src/go/collectors/go.d.plugin/modules/docker_engine/collect.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status