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
91eb74ad
Commit
91eb74ad
authored
Jan 20, 2017
by
Ahmad Sherif
Browse files
Merge branch 'zj-track-pages-domains' into 'master'
Track pages usage See merge request !34
parents
04120367
c4ca6d91
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/gitlab_monitor/database/row_count.rb
View file @
91eb74ad
...
...
@@ -19,7 +19,8 @@ module GitLab
personal_snippets:
{
select: :snippets
,
where:
"type='PersonalSnippet'"
},
project_snippets:
{
select: :snippets
,
where:
"type='ProjectSnippet'"
},
users:
{
select: :users
},
active_runners:
{
select: :ci_runners
,
where:
"active=true AND contacted_at >= NOW() - '1 day'::INTERVAL"
}
active_runners:
{
select: :ci_runners
,
where:
"active=true AND contacted_at >= NOW() - '1 day'::INTERVAL"
},
pages_domains:
{
select: :pages_domains
}
}.
freeze
def
run
...
...
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