summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-07-04 13:30:21 +0200
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-07-04 13:30:21 +0200
commit822e696940bd8f173a582f940c7b7cec11632ca3 (patch)
tree76750d6f33fdd12a8668fd3607a08dcc6974e004
parentc8eef2d2a62f6ac7304c8ab4d50282613e21ec8a (diff)
downloadgitlab-ce-zj-fix-metric-counter-name.tar.gz
Fix naming, to follow Prom conventionzj-fix-metric-counter-name
-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 942145c4a8c..d8dc8569867 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, "Pipelines created total, by source")
end
end
end