diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-07 12:44:15 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-07 12:44:15 +0100 |
commit | 364b07cff0183956ea11962b94c70448767351d3 (patch) | |
tree | 6ee001a2da3b60ed7a5ac05a1d91d7bc151cfd1f /spec | |
parent | da912c8f4ce6a8e828bc0ef4dd352fd54df0739f (diff) | |
download | gitlab-ce-364b07cff0183956ea11962b94c70448767351d3.tar.gz |
Removed UUIDs from metrics transactions
While useful for finding out what methods/views belong to a transaction
this might result in too much data being stored in InfluxDB.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/metrics/transaction_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/metrics/transaction_spec.rb b/spec/lib/gitlab/metrics/transaction_spec.rb index b9b94947afa..0c98b8f0127 100644 --- a/spec/lib/gitlab/metrics/transaction_spec.rb +++ b/spec/lib/gitlab/metrics/transaction_spec.rb @@ -30,9 +30,9 @@ describe Gitlab::Metrics::Transaction do end describe '#add_metric' do - it 'adds a metric tagged with the transaction UUID' do + it 'adds a metric to the transaction' do expect(Gitlab::Metrics::Metric).to receive(:new). - with('rails_foo', { number: 10 }, { transaction_id: transaction.uuid }) + with('rails_foo', { number: 10 }, {}) transaction.add_metric('foo', number: 10) end |