contrib/opbot/signoz/authed.go
Method Client.SearchTraces
has 95 lines of code (exceeds 50 allowed). Consider refactoring. Open
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
}