Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-org
gitlab-exporter
Commits
2e5dab49
Commit
2e5dab49
authored
Sep 29, 2021
by
Alejandro Rodríguez
Browse files
Add registry-specific database queries
parent
6905eccc
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/gitlab_exporter/database/row_count.rb
View file @
2e5dab49
...
...
@@ -131,7 +131,12 @@ module GitLab
visibility_level:
{},
root:
{
definition:
"(parent_id IS NULL)"
}
}
}
},
registry_gc_manifest_review_queue:
{
select: :gc_manifest_review_queue
},
registry_gc_blob_review_queue:
{
select: :gc_blob_review_queue
},
registry_repositories:
{
select: :repositories
},
registry_manifests:
{
select: :manifests
},
registry_blobs:
{
select: :blobs
}
}.
freeze
def
initialize
(
selected_queries:
nil
,
**
args
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment