Skip to main content

group_dora_performance_score_counts

Gets or lists a group_dora_performance_score_counts resource.

Overview​

Namegroup_dora_performance_score_counts
TypeResource
Idgitlab.analytics.group_dora_performance_score_counts

Fields​

The following fields are returned by SELECT queries:

GraphQL response envelope

NameDatatypeDescription
metric_namestringName of the DORA metric.
high_projects_countintegerNumber of projects that score "high" on the metric.
low_projects_countintegerNumber of projects that score "low" on the metric.
medium_projects_countintegerNumber of projects that score "medium" on the metric.
no_data_projects_countintegerNumber of projects with no data for the metric.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectfull_path, hostGroup's DORA scores for all projects by DORA key metric for the last complete month. Generated from the GitLab GraphQL schema field Group.doraPerformanceScoreCounts (connection of DoraPerformanceScoreCount nodes).

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 group, for example gitlab-org
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)

SELECT examples​

Group's DORA scores for all projects by DORA key metric for the last complete month. Generated from the GitLab GraphQL schema field Group.doraPerformanceScoreCounts (connection of DoraPerformanceScoreCount nodes).

SELECT
metric_name,
high_projects_count,
low_projects_count,
medium_projects_count,
no_data_projects_count
FROM gitlab.analytics.group_dora_performance_score_counts
WHERE full_path = '{{ full_path }}' -- required
AND host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
;