Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
7772dfb7
Commit
7772dfb7
authored
Jan 22, 2018
by
Pawel Chojnacki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
before -> after
parent
f5114783
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/metrics/method_call_spec.rb
spec/lib/gitlab/metrics/method_call_spec.rb
+1
-1
spec/lib/gitlab/metrics_spec.rb
spec/lib/gitlab/metrics_spec.rb
+1
-1
No files found.
spec/lib/gitlab/metrics/method_call_spec.rb
View file @
7772dfb7
...
...
@@ -5,7 +5,7 @@ describe Gitlab::Metrics::MethodCall do
let
(
:method_call
)
{
described_class
.
new
(
'Foo#bar'
,
:Foo
,
'#bar'
,
transaction
)
}
describe
'#measure'
do
before
do
after
do
described_class
.
reload_metric!
(
:gitlab_method_call_duration_seconds
)
end
...
...
spec/lib/gitlab/metrics_spec.rb
View file @
7772dfb7
...
...
@@ -20,7 +20,7 @@ describe Gitlab::Metrics do
context
'prometheus metrics enabled in config'
do
before
do
allow
(
described_clas
s
).
to
receive
(
:current_application_settings
).
and_return
(
prometheus_metrics_enabled:
true
)
allow
(
Gitlab
::
CurrentSetting
s
).
to
receive
(
:current_application_settings
).
and_return
(
prometheus_metrics_enabled:
true
)
end
context
'when metrics folder is present'
do
...
...
Write
Preview
Markdown
is supported
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