[QENG-4075] Rename usages of statsd -> metrics

Really, let's just support a generic metrics interface.
This commit is contained in:
Rick Bradley 2016-07-12 14:50:10 -05:00
parent 3a299af59d
commit 10e00a44f5
4 changed files with 12 additions and 12 deletions

View file

@ -20,7 +20,7 @@ describe Vmpooler::API::V1 do
describe '/vm' do
let(:prefix) { '/api/v1' }
let(:statsd) { Vmpooler::DummyStatsd.new }
let(:metrics) { Vmpooler::DummyStatsd.new }
let(:config) {
{
config: {
@ -44,7 +44,7 @@ describe Vmpooler::API::V1 do
app.settings.set :config, config
app.settings.set :redis, redis
app.settings.set :statsd, statsd
app.settings.set :metrics, metrics
app.settings.set :config, auth: false
create_token('abcdefghijklmnopqrstuvwxyz012345', 'jdoe', current_time)
end

View file

@ -20,7 +20,7 @@ describe Vmpooler::API::V1 do
describe '/vm/:template' do
let(:prefix) { '/api/v1' }
let(:statsd) { Vmpooler::DummyStatsd.new }
let(:metrics) { Vmpooler::DummyStatsd.new }
let(:config) {
{
config: {
@ -44,7 +44,7 @@ describe Vmpooler::API::V1 do
app.settings.set :config, config
app.settings.set :redis, redis
app.settings.set :statsd, statsd
app.settings.set :metrics, metrics
app.settings.set :config, auth: false
create_token('abcdefghijklmnopqrstuvwxyz012345', 'jdoe', current_time)
end