summaryrefslogtreecommitdiff
path: root/app/services/ci
diff options
context:
space:
mode:
authorBen Kochie <bjk@gitlab.com>2017-07-19 09:43:57 +0200
committerBen Kochie <bjk@gitlab.com>2017-07-19 09:43:57 +0200
commitafba21f6a0a07a59bbe2aed2b25d6a50f8dc7e2e (patch)
tree75b1fcc9ae5e01869d2a2b3984dd1fa5739078f1 /app/services/ci
parent3453bc328465156bf1fdb4c700c7c3b20d0c1967 (diff)
downloadgitlab-ce-afba21f6a0a07a59bbe2aed2b25d6a50f8dc7e2e.tar.gz
Update piplines created metric namebjk/pipelines_created_total
* Use `_total` naming convention. * Add to metrics documentation.
Diffstat (limited to 'app/services/ci')
-rw-r--r--app/services/ci/create_pipeline_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_pipeline_service.rb b/app/services/ci/create_pipeline_service.rb
index 4f35255fb53..273386776fa 100644
--- a/app/services/ci/create_pipeline_service.rb
+++ b/app/services/ci/create_pipeline_service.rb
@@ -135,7 +135,7 @@ module Ci
end
def pipeline_created_counter
- @pipeline_created_counter ||= Gitlab::Metrics.counter(:pipelines_created_count, "Pipelines created count")
+ @pipeline_created_counter ||= Gitlab::Metrics.counter(:pipelines_created_total, "Counter of pipelines created")
end
end
end