project_sentry_detailed_error
Gets or lists a project_sentry_detailed_error resource.
Overview​
| Name | project_sentry_detailed_error |
| Type | Resource |
| Id | gitlab.projects.project_sentry_detailed_error |
Fields​
The following fields are returned by SELECT queries:
- get
GraphQL response envelope
| Name | Datatype | Description |
|---|---|---|
id | string | ID (global ID) of the error. |
sentry_id | string | ID (Sentry ID) of the error. |
sentry_project_id | string | ID of the project (Sentry project). |
short_id | string | Short ID (Sentry ID) of the error. |
sentry_project_name | string | Name of the project affected by the error. |
count | integer | Count of occurrences. |
culprit | string | Culprit of the error. |
external_base_url | string | External Base URL of the Sentry Instance. |
external_url | string | External URL of the error. |
first_release_last_commit | string | Commit the error was first seen. |
first_release_short_version | string | Release short version the error was first seen. |
first_release_version | string | Release version the error was first seen. |
first_seen | string | Timestamp when the error was first seen. |
gitlab_commit | string | GitLab commit SHA attributed to the Error based on the release version. |
gitlab_commit_path | string | Path to the GitLab page for the GitLab commit attributed to the error. |
gitlab_issue_path | string | URL of GitLab Issue. |
integrated | boolean | Error tracking backend. |
last_release_last_commit | string | Commit the error was last seen. |
last_release_short_version | string | Release short version the error was last seen. |
last_release_version | string | Release version the error was last seen. |
last_seen | string | Timestamp when the error was last seen. |
message | string | Sentry metadata message of the error. |
sentry_project_slug | string | Slug of the project affected by the error. |
status | string | Status of the error. (RESOLVED, RESOLVED_IN_NEXT_RELEASE, UNRESOLVED, IGNORED) |
title | string | Title of the error. |
type | string | Type of the error. |
user_count | integer | Count of users affected by the error. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | full_path, id, host | Detailed version of a Sentry error on the project. Generated from the GitLab GraphQL schema field Project.sentryDetailedError (SentryDetailedError). |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
full_path | string | Full path of the project, for example gitlab-org/gitlab |
host | string | GitLab host, with an optional port (default gitlab.com). Resolved from the GITLAB_HOST environment variable when it is set (x-stackQL-envVar); a WHERE host value always takes precedence. Self-managed instances: the provider is generated from the gitlab.com schema, so older instances may reject fields they do not serve. (default: gitlab.com, x-stackQL-envVar: GITLAB_HOST) |
id | string | ID of the Sentry issue. |
SELECT examples​
- get
Detailed version of a Sentry error on the project. Generated from the GitLab GraphQL schema field Project.sentryDetailedError (SentryDetailedError).
SELECT
id,
sentry_id,
sentry_project_id,
short_id,
sentry_project_name,
count,
culprit,
external_base_url,
external_url,
first_release_last_commit,
first_release_short_version,
first_release_version,
first_seen,
gitlab_commit,
gitlab_commit_path,
gitlab_issue_path,
integrated,
last_release_last_commit,
last_release_short_version,
last_release_version,
last_seen,
message,
sentry_project_slug,
status,
title,
type,
user_count
FROM gitlab.projects.project_sentry_detailed_error
WHERE full_path = '{{ full_path }}' -- required
AND id = '{{ id }}' -- required
AND host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
;