Skip to content
Snippets Groups Projects
Unverified Commit 63ccb760 authored by Z.J. van de Weg's avatar Z.J. van de Weg
Browse files

Fix wrong method call on prometheus histogram

parent 0ff2f664
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -85,13 +85,13 @@ module Ci
end
 
def register_failure
failed_attempt_counter.increase
attempt_counter.increase
failed_attempt_counter.increment
attempt_counter.increment
end
 
def register_success(job)
job_queue_duration_seconds.observe({ shared_runner: @runner.shared? }, Time.now - job.created_at)
attempt_counter.increase
attempt_counter.increment
end
 
def failed_attempt_counter
Loading
Loading
Loading
Loading
@@ -172,11 +172,11 @@ module Projects
end
 
def register_attempt
pages_deployments_total_counter.increase
pages_deployments_total_counter.increment
end
 
def register_failure
pages_deployments_failed_total_counter.increase
pages_deployments_failed_total_counter.increment
end
 
def pages_deployments_total_counter
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment