netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/modules/mongodb/collect_serverstatus.go

Summary

Maintainability
A
1 hr
Test Coverage

Method Mongo.addOptionalCharts has 68 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (m *Mongo) addOptionalCharts(s *documentServerStatus) {
    m.addOptionalChart(s.OpLatencies,
        &chartOperationsRate,
        &chartOperationsLatencyTime,
    )

    There are no issues that match your filters.

    Category
    Status