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
8e56f5ab
Commit
8e56f5ab
authored
Nov 02, 2016
by
Ahmad Sherif
Browse files
Change RowCountProber metric name to allow better grouping
parent
2da68472
Pipeline
#23163
passed with stage
in 1 minute and 11 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Gemfile.lock
View file @
8e56f5ab
PATH
remote: .
specs:
gitlab-monitor (0.0.1
0
)
gitlab-monitor (0.0.1
1
)
pg (~> 0.18.4)
quantile (~> 0.2.0)
redis-namespace (~> 1.5.2)
...
...
lib/gitlab_monitor/database/row_count.rb
View file @
8e56f5ab
...
...
@@ -61,7 +61,7 @@ module GitLab
results
=
@collector
.
run
results
.
each
do
|
key
,
value
|
@metrics
.
add
(
"
#{
key
}
_count"
,
value
.
to_i
)
@metrics
.
add
(
"
db_rows
_count"
,
value
.
to_i
,
query_name:
key
.
to_s
)
end
self
...
...
lib/gitlab_monitor/version.rb
View file @
8e56f5ab
module
GitLab
module
Monitor
VERSION
=
"0.0.1
0
"
.
freeze
VERSION
=
"0.0.1
1
"
.
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