File tree 1 file changed +39
-4
lines changed
1 file changed +39
-4
lines changed Original file line number Diff line number Diff line change 25
25
"configuration" : {
26
26
"title" : " Sentry extension settings" ,
27
27
"properties" : {
28
- "sentry.organization " : {
28
+ "sentryOrganization " : {
29
29
"description" : " Name of the Sentry organization" ,
30
30
"type" : " string" ,
31
31
"default" : " "
32
32
},
33
- "sentry.projects" : {
34
- "description" : " List of projects collecting logs" ,
33
+ "sentryProjects" : {
35
34
"type" : " array" ,
36
- "default" : []
35
+ "items" : {
36
+ "name" : { "type" : " string" },
37
+ "type" : " object" ,
38
+ "description" : " Sentry project receiving logs" ,
39
+ "projectId" : {
40
+ "description" : " Sentry project id, e.g. 12351512" ,
41
+ "type" : " string"
42
+ },
43
+ "patternProperties" : {
44
+ "repoMatch" : {
45
+ "type" : " string" ,
46
+ "description" : " Regex to match repos associated to this Sentre project, e.g. github\\ .com/sourcegraph/sourcegraph"
47
+ },
48
+ "fileMatch" : {
49
+ "type" : " string" ,
50
+ "description" : " Regex to match files associated with this project, e.g. (web|shared)/.*\\ .tsx?$"
51
+ },
52
+ "lineMatch" : {
53
+ "type" : " string" ,
54
+ "description" : " Regex to match lines associated with this project, e.g. throw new Error\\ ([\" ']([^'\" ]+)[\" ']\\ )"
55
+ }
56
+ },
57
+ "additionalProperties" : {
58
+ "contentText" : {
59
+ "description" : " Text shown in Sentry link, e.g. View sourcegraph/sourcegraph_dot_com errors" ,
60
+ "type" : " string"
61
+ },
62
+ "hoverMessage" : {
63
+ "description" : " Hovertext shown on Sentry link, e.g. View errors matching '$1' in Sentry" ,
64
+ "type" : " string"
65
+ },
66
+ "query" : {
67
+ "description" : " Query derived from error handling code $1" ,
68
+ "type" : " string"
69
+ }
70
+ }
71
+ }
37
72
}
38
73
}
39
74
}
You can’t perform that action at this time.
0 commit comments