Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-org
gitlab-exporter
Commits
eac3827a
Commit
eac3827a
authored
Nov 11, 2016
by
Ahmad Sherif
Browse files
Rename project_count to projects for consistency with other counts
parent
d2b19172
Pipeline
#23603
passed with stage
in 1 minute and 21 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Gemfile.lock
View file @
eac3827a
PATH
remote: .
specs:
gitlab-monitor (0.0.1
4
)
gitlab-monitor (0.0.1
5
)
pg (~> 0.18.4)
quantile (~> 0.2.0)
redis-namespace (~> 1.5.2)
...
...
lib/gitlab_monitor/database/row_count.rb
View file @
eac3827a
...
...
@@ -9,7 +9,7 @@ module GitLab
class
RowCountCollector
<
Base
QUERIES
=
{
groups:
{
select: :namespaces
,
where:
"type='Group'"
},
project
_count
:
{
select: :projects
,
where:
"pending_delete=false"
},
project
s
:
{
select: :projects
,
where:
"pending_delete=false"
},
soft_deleted_projects:
{
select: :projects
,
where:
"pending_delete=true"
},
orphaned_projects:
{
select: :projects
,
...
...
lib/gitlab_monitor/version.rb
View file @
eac3827a
module
GitLab
module
Monitor
VERSION
=
"0.0.1
4
"
.
freeze
VERSION
=
"0.0.1
5
"
.
freeze
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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