diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-31 21:08:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-31 21:08:52 +0000 |
commit | d5d3c03598df712550acf0c6463a61c6e7dcc19e (patch) | |
tree | d0fdf0f9cd6df46aea6ed16b6556f44055efb642 /doc/api/graphql | |
parent | 0434f38ef1dce4fe640fe1e4542235746ceb943c (diff) | |
download | gitlab-ce-d5d3c03598df712550acf0c6463a61c6e7dcc19e.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/graphql')
-rw-r--r-- | doc/api/graphql/reference/gitlab_schema.graphql | 75 | ||||
-rw-r--r-- | doc/api/graphql/reference/gitlab_schema.json | 242 | ||||
-rw-r--r-- | doc/api/graphql/reference/index.md | 32 |
3 files changed, 349 insertions, 0 deletions
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql index b654e8bbd8b..f0ad0b8184d 100644 --- a/doc/api/graphql/reference/gitlab_schema.graphql +++ b/doc/api/graphql/reference/gitlab_schema.graphql @@ -6299,6 +6299,16 @@ type SentryErrorCollection { ): SentryDetailedError """ + Stack Trace of Sentry Error + """ + errorStackTrace( + """ + ID of the Sentry issue + """ + id: ID! + ): SentryErrorStackTrace + + """ Collection of Sentry Errors """ errors( @@ -6387,6 +6397,71 @@ type SentryErrorFrequency { } """ +An object containing a stack trace entry for a Sentry error. +""" +type SentryErrorStackTrace { + """ + Time the stack trace was received by Sentry + """ + dateReceived: String! + + """ + ID of the Sentry error + """ + issueId: String! + + """ + Stack trace entries for the Sentry error + """ + stackTraceEntries: [SentryErrorStackTraceEntry!]! +} + +""" +An object context for a Sentry error stack trace +""" +type SentryErrorStackTraceContext { + """ + Code number of the context + """ + code: String! + + """ + Line number of the context + """ + line: Int! +} + +""" +An object containing a stack trace entry for a Sentry error. +""" +type SentryErrorStackTraceEntry { + """ + Function in which the Sentry error occurred + """ + col: String + + """ + File in which the Sentry error occurred + """ + fileName: String + + """ + Function in which the Sentry error occurred + """ + function: String + + """ + Function in which the Sentry error occurred + """ + line: String + + """ + Context of the Sentry error + """ + traceContext: [SentryErrorStackTraceContext!] +} + +""" State of a Sentry error """ enum SentryErrorStatus { diff --git a/doc/api/graphql/reference/gitlab_schema.json b/doc/api/graphql/reference/gitlab_schema.json index a49a9c65f4e..33958dde42c 100644 --- a/doc/api/graphql/reference/gitlab_schema.json +++ b/doc/api/graphql/reference/gitlab_schema.json @@ -17455,6 +17455,33 @@ "deprecationReason": null }, { + "name": "errorStackTrace", + "description": "Stack Trace of Sentry Error", + "args": [ + { + "name": "id", + "description": "ID of the Sentry issue", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SentryErrorStackTrace", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { "name": "errors", "description": "Collection of Sentry Errors", "args": [ @@ -17986,6 +18013,221 @@ }, { "kind": "OBJECT", + "name": "SentryErrorStackTrace", + "description": "An object containing a stack trace entry for a Sentry error.", + "fields": [ + { + "name": "dateReceived", + "description": "Time the stack trace was received by Sentry", + "args": [ + + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "issueId", + "description": "ID of the Sentry error", + "args": [ + + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "stackTraceEntries", + "description": "Stack trace entries for the Sentry error", + "args": [ + + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SentryErrorStackTraceEntry", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SentryErrorStackTraceEntry", + "description": "An object containing a stack trace entry for a Sentry error.", + "fields": [ + { + "name": "col", + "description": "Function in which the Sentry error occurred", + "args": [ + + ], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fileName", + "description": "File in which the Sentry error occurred", + "args": [ + + ], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "function", + "description": "Function in which the Sentry error occurred", + "args": [ + + ], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "line", + "description": "Function in which the Sentry error occurred", + "args": [ + + ], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "traceContext", + "description": "Context of the Sentry error", + "args": [ + + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SentryErrorStackTraceContext", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SentryErrorStackTraceContext", + "description": "An object context for a Sentry error stack trace", + "fields": [ + { + "name": "code", + "description": "Code number of the context", + "args": [ + + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "line", + "description": "Line number of the context", + "args": [ + + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", "name": "Metadata", "description": null, "fields": [ diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index 5325c5ff335..11e48d69165 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -983,6 +983,7 @@ An object containing a collection of Sentry errors, and a detailed error. | Name | Type | Description | | --- | ---- | ---------- | | `detailedError` | SentryDetailedError | Detailed version of a Sentry error on the project | +| `errorStackTrace` | SentryErrorStackTrace | Stack Trace of Sentry Error | | `errors` | SentryErrorConnection | Collection of Sentry Errors | | `externalUrl` | String | External URL for Sentry | @@ -993,6 +994,37 @@ An object containing a collection of Sentry errors, and a detailed error. | `count` | Int! | Count of errors received since the previously recorded time | | `time` | Time! | Time the error frequency stats were recorded | +## SentryErrorStackTrace + +An object containing a stack trace entry for a Sentry error. + +| Name | Type | Description | +| --- | ---- | ---------- | +| `dateReceived` | String! | Time the stack trace was received by Sentry | +| `issueId` | String! | ID of the Sentry error | +| `stackTraceEntries` | SentryErrorStackTraceEntry! => Array | Stack trace entries for the Sentry error | + +## SentryErrorStackTraceContext + +An object context for a Sentry error stack trace + +| Name | Type | Description | +| --- | ---- | ---------- | +| `code` | String! | Code number of the context | +| `line` | Int! | Line number of the context | + +## SentryErrorStackTraceEntry + +An object containing a stack trace entry for a Sentry error. + +| Name | Type | Description | +| --- | ---- | ---------- | +| `col` | String | Function in which the Sentry error occurred | +| `fileName` | String | File in which the Sentry error occurred | +| `function` | String | Function in which the Sentry error occurred | +| `line` | String | Function in which the Sentry error occurred | +| `traceContext` | SentryErrorStackTraceContext! => Array | Context of the Sentry error | + ## SentryErrorTags State of a Sentry error |