diff options
author | Ben Kochie <bjk@gitlab.com> | 2017-07-19 10:43:57 +0300 |
---|---|---|
committer | Ben Kochie <bjk@gitlab.com> | 2017-07-19 10:43:57 +0300 |
commit | afba21f6a0a07a59bbe2aed2b25d6a50f8dc7e2e (patch) | |
tree | 75b1fcc9ae5e01869d2a2b3984dd1fa5739078f1 /spec/services/ci | |
parent | 3453bc328465156bf1fdb4c700c7c3b20d0c1967 (diff) |
Update piplines created metric name
* Use `_total` naming convention.
* Add to metrics documentation.
Diffstat (limited to 'spec/services/ci')
-rw-r--r-- | spec/services/ci/create_pipeline_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/create_pipeline_service_spec.rb b/spec/services/ci/create_pipeline_service_spec.rb index 77c07b71c68..e71c462b99a 100644 --- a/spec/services/ci/create_pipeline_service_spec.rb +++ b/spec/services/ci/create_pipeline_service_spec.rb @@ -40,7 +40,7 @@ describe Ci::CreatePipelineService, :services do it 'increments the prometheus counter' do expect(Gitlab::Metrics).to receive(:counter) - .with(:pipelines_created_count, "Pipelines created count") + .with(:pipelines_created_total, "Counter of pipelines created") .and_call_original pipeline |