Skip to content

Commit

Permalink
Remove error segment code (#8467)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpennyNDaJets committed May 6, 2024
1 parent 59d4703 commit b76145d
Show file tree
Hide file tree
Showing 6 changed files with 165 additions and 1,134 deletions.
8 changes: 1 addition & 7 deletions backend/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ var Models = []interface{}{
&ErrorGroup{},
&ErrorGroupEmbeddings{},
&ErrorField{},
&ErrorSegment{},
&SavedSegment{},
&Organization{},
&Segment{},
Expand Down Expand Up @@ -1020,12 +1019,7 @@ type ErrorSearchParams struct {
State *modelInputs.ErrorState `json:"state"`
Query *string `json:"query"`
}
type ErrorSegment struct {
Model
Name *string
Params *string `json:"params"`
ProjectID int `json:"project_id"`
}

type ErrorGroupingMethod string

const (
Expand Down
Loading

0 comments on commit b76145d

Please sign in to comment.