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
63ccb760
Commit
63ccb760
authored
Aug 10, 2017
by
Z.J. van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong method call on prometheus histogram
parent
0ff2f664
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/services/ci/register_job_service.rb
app/services/ci/register_job_service.rb
+3
-3
app/services/projects/update_pages_service.rb
app/services/projects/update_pages_service.rb
+2
-2
No files found.
app/services/ci/register_job_service.rb
View file @
63ccb760
...
...
@@ -85,13 +85,13 @@ module Ci
end
def
register_failure
failed_attempt_counter
.
incre
ase
attempt_counter
.
incre
ase
failed_attempt_counter
.
incre
ment
attempt_counter
.
incre
ment
end
def
register_success
(
job
)
job_queue_duration_seconds
.
observe
({
shared_runner:
@runner
.
shared?
},
Time
.
now
-
job
.
created_at
)
attempt_counter
.
incre
ase
attempt_counter
.
incre
ment
end
def
failed_attempt_counter
...
...
app/services/projects/update_pages_service.rb
View file @
63ccb760
...
...
@@ -172,11 +172,11 @@ module Projects
end
def
register_attempt
pages_deployments_total_counter
.
incre
ase
pages_deployments_total_counter
.
incre
ment
end
def
register_failure
pages_deployments_failed_total_counter
.
incre
ase
pages_deployments_failed_total_counter
.
incre
ment
end
def
pages_deployments_total_counter
...
...
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