-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rjo100/remove-monitor-status-backend
- Loading branch information
Showing
324 changed files
with
7,276 additions
and
3,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -462,6 +462,7 @@ jobs: | |
backend-test, | ||
backend-migration-tests, | ||
cli, | ||
files-changed, | ||
lint, | ||
requirements, | ||
migration, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
export function EventEntryExceptionGroup() { | ||
return { | ||
type: 'exception', | ||
data: { | ||
values: [ | ||
{ | ||
type: 'ValueError', | ||
value: 'test', | ||
mechanism: { | ||
exception_id: 4, | ||
is_exception_group: false, | ||
parent_id: 3, | ||
source: 'exceptions[2]', | ||
}, | ||
stacktrace: { | ||
frames: [ | ||
{ | ||
function: 'func4', | ||
module: 'helpers', | ||
filename: 'file4.py', | ||
absPath: 'file4.py', | ||
lineNo: 50, | ||
colNo: null, | ||
context: [[50, 'raise ValueError("test")']], | ||
inApp: true, | ||
data: {}, | ||
}, | ||
], | ||
}, | ||
rawStacktrace: null, | ||
}, | ||
{ | ||
type: 'ExceptionGroup 2', | ||
value: 'child', | ||
mechanism: { | ||
exception_id: 3, | ||
is_exception_group: true, | ||
parent_id: 1, | ||
source: 'exceptions[1]', | ||
}, | ||
stacktrace: { | ||
frames: [ | ||
{ | ||
function: 'func3', | ||
module: 'helpers', | ||
filename: 'file3.py', | ||
absPath: 'file3.py', | ||
lineNo: 50, | ||
colNo: null, | ||
context: [], | ||
inApp: true, | ||
data: {}, | ||
}, | ||
], | ||
}, | ||
rawStacktrace: null, | ||
}, | ||
{ | ||
type: 'TypeError', | ||
value: 'nested', | ||
mechanism: { | ||
exception_id: 2, | ||
is_exception_group: false, | ||
parent_id: 1, | ||
source: 'exceptions[0]', | ||
}, | ||
stacktrace: { | ||
frames: [ | ||
{ | ||
function: 'func2', | ||
module: 'helpers', | ||
filename: 'file2.py', | ||
absPath: 'file2.py', | ||
lineNo: 50, | ||
colNo: null, | ||
context: [[50, 'raise TypeError("int")']], | ||
inApp: true, | ||
data: {}, | ||
}, | ||
], | ||
}, | ||
rawStacktrace: null, | ||
}, | ||
{ | ||
type: 'ExceptionGroup 1', | ||
value: 'parent', | ||
mechanism: { | ||
exception_id: 1, | ||
is_exception_group: true, | ||
source: '__context__', | ||
}, | ||
stacktrace: { | ||
frames: [ | ||
{ | ||
function: 'func1', | ||
module: 'helpers', | ||
filename: 'file1.py', | ||
absPath: 'file1.py', | ||
lineNo: 50, | ||
colNo: null, | ||
context: [[50, 'raise ExceptionGroup("parent")']], | ||
inApp: true, | ||
data: {}, | ||
}, | ||
], | ||
}, | ||
rawStacktrace: null, | ||
}, | ||
], | ||
}, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from sentry import analytics | ||
|
||
|
||
class IssueArchivedEvent(analytics.Event): | ||
type = "issue.archived" | ||
|
||
attributes = ( | ||
analytics.Attribute("user_id", type=int, required=False), | ||
analytics.Attribute("default_user_id", type=int), | ||
analytics.Attribute("organization_id", type=int), | ||
analytics.Attribute("group_id"), | ||
analytics.Attribute("until_escalating", type=bool, required=False), | ||
) | ||
|
||
|
||
analytics.register(IssueArchivedEvent) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.