group_root_storage_statistics
Gets or lists a group_root_storage_statistics resource.
Overview​
| Name | group_root_storage_statistics |
| Type | Resource |
| Id | gitlab.groups.group_root_storage_statistics |
Fields​
The following fields are returned by SELECT queries:
- get
GraphQL response envelope
| Name | Datatype | Description |
|---|---|---|
build_artifacts_size | number | CI artifacts size in bytes. |
container_registry_size | number | Container registry size in bytes. |
container_registry_size_is_estimated | boolean | Indicates whether the deduplicated container registry size for the namespace is an estimated value or not. |
dependency_proxy_size | number | Dependency Proxy sizes in bytes. |
lfs_objects_size | number | LFS objects size in bytes. |
packages_size | number | Packages size in bytes. |
pipeline_artifacts_size | number | CI pipeline artifacts size in bytes. |
repository_size | number | Git repository size in bytes. |
snippets_size | number | Snippets size in bytes. |
storage_size | number | Total storage in bytes. |
uploads_size | number | Uploads size in bytes. |
wiki_size | number | Wiki size in bytes. |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | full_path, host | Aggregated storage statistics of the namespace. Only available for root namespaces. Generated from the GitLab GraphQL schema field Group.rootStorageStatistics (RootStorageStatistics). |
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 group, for example gitlab-org |
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) |
SELECT examples​
- get
Aggregated storage statistics of the namespace. Only available for root namespaces. Generated from the GitLab GraphQL schema field Group.rootStorageStatistics (RootStorageStatistics).
SELECT
build_artifacts_size,
container_registry_size,
container_registry_size_is_estimated,
dependency_proxy_size,
lfs_objects_size,
packages_size,
pipeline_artifacts_size,
repository_size,
snippets_size,
storage_size,
uploads_size,
wiki_size
FROM gitlab.groups.group_root_storage_statistics
WHERE full_path = '{{ full_path }}' -- required
AND host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
;