synapsecns/sanguine

View on GitHub
contrib/opbot/signoz/authed.go

Summary

Maintainability
A
2 hrs
Test Coverage

Method Client.SearchTraces has 95 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (c *Client) SearchTraces(ctx context.Context, timePeriod TimePreferenceType, searchTerms map[string]string) (*QueryRangeResponse, error) {
    param, err := GetStartAndEndTimeInt(timePeriod)
    if err != nil {
        return nil, err
    }
Severity: Major
Found in contrib/opbot/signoz/authed.go - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status