netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/agent/agent.go

Summary

Maintainability
A
1 hr
Test Coverage

Method Agent.run has 69 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (a *Agent) run(ctx context.Context) {
    a.Info("instance is started")
    defer func() { a.Info("instance is stopped") }()

    cfg := a.loadPluginConfig()
Severity: Minor
Found in src/go/collectors/go.d.plugin/agent/agent.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status