Skip to main content

project_sentry_detailed_error

Gets or lists a project_sentry_detailed_error resource.

Overview​

Nameproject_sentry_detailed_error
TypeResource
Idgitlab.projects.project_sentry_detailed_error

Fields​

The following fields are returned by SELECT queries:

GraphQL response envelope

NameDatatypeDescription
idstringID (global ID) of the error.
sentry_idstringID (Sentry ID) of the error.
sentry_project_idstringID of the project (Sentry project).
short_idstringShort ID (Sentry ID) of the error.
sentry_project_namestringName of the project affected by the error.
countintegerCount of occurrences.
culpritstringCulprit of the error.
external_base_urlstringExternal Base URL of the Sentry Instance.
external_urlstringExternal URL of the error.
first_release_last_commitstringCommit the error was first seen.
first_release_short_versionstringRelease short version the error was first seen.
first_release_versionstringRelease version the error was first seen.
first_seenstringTimestamp when the error was first seen.
gitlab_commitstringGitLab commit SHA attributed to the Error based on the release version.
gitlab_commit_pathstringPath to the GitLab page for the GitLab commit attributed to the error.
gitlab_issue_pathstringURL of GitLab Issue.
integratedbooleanError tracking backend.
last_release_last_commitstringCommit the error was last seen.
last_release_short_versionstringRelease short version the error was last seen.
last_release_versionstringRelease version the error was last seen.
last_seenstringTimestamp when the error was last seen.
messagestringSentry metadata message of the error.
sentry_project_slugstringSlug of the project affected by the error.
statusstringStatus of the error. (RESOLVED, RESOLVED_IN_NEXT_RELEASE, UNRESOLVED, IGNORED)
titlestringTitle of the error.
typestringType of the error.
user_countintegerCount of users affected by the error.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectfull_path, id, hostDetailed 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.

NameDatatypeDescription
full_pathstringFull path of the project, for example gitlab-org/gitlab
hoststringGitLab 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)
idstringID of the Sentry issue.

SELECT examples​

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)
;