mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(POOLER-178) Target Stats for api & manager
Ensure that the correct stats are registered for the Manager and the api respectively. E.g. all checkout counters are for the api only, whereas clone times belong to the manager. Also new ondemand functionality stats weren't registered, so add these along with missing delete stats.
This commit is contained in:
parent
8ed8c43970
commit
a21d8c5642
14 changed files with 128 additions and 28 deletions
|
|
@ -37,7 +37,7 @@ describe Vmpooler::API::V1 do
|
|||
|
||||
before(:each) do
|
||||
expect(app).to receive(:run!).once
|
||||
app.execute(['api'], config, redis, metrics)
|
||||
app.execute([:api], config, redis, metrics)
|
||||
app.settings.set :config, auth: false
|
||||
create_token('abcdefghijklmnopqrstuvwxyz012345', 'jdoe', current_time)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue