BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
63ccb760
Unverified
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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
register_job_service.rb
app/services/ci/register_job_service.rb
+3
-3
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