synapsecns/sanguine

View on GitHub
ethergo/listener/otel.go

Summary

Maintainability
A
35 mins
Test Coverage

Function newOtelRecorder has 5 return statements (exceeds 4 allowed).
Open

func newOtelRecorder(meterHandler metrics.Handler, chainID int, name string) (_ iOtelRecorder, err error) {
    or := otelRecorder{
        metrics:            meterHandler,
        meter:              meterHandler.Meter(meterName),
        lastBlock:          nil,
Severity: Major
Found in ethergo/listener/otel.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status