Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kochie <bjk@gitlab.com>2017-07-19 10:43:57 +0300
committerBen Kochie <bjk@gitlab.com>2017-07-19 10:43:57 +0300
commitafba21f6a0a07a59bbe2aed2b25d6a50f8dc7e2e (patch)
tree75b1fcc9ae5e01869d2a2b3984dd1fa5739078f1 /app/services/ci/create_pipeline_service.rb
parent3453bc328465156bf1fdb4c700c7c3b20d0c1967 (diff)
Update piplines created metric name
* Use `_total` naming convention. * Add to metrics documentation.
Diffstat (limited to 'app/services/ci/create_pipeline_service.rb')
-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