remove current_size_in_bytes and acked info from node stats

re #6508.

- removed `acked_count`, `unacked_count`, and migrated `unread_count` to
top-level `events` field.
- removed `current_size_in_bytes` info from queue node stats

Fixes #6510
This commit is contained in:
Tal Levy 2017-01-09 15:07:01 -08:00
parent 2c17365315
commit 641b855127
2 changed files with 2 additions and 10 deletions

View file

@ -58,12 +58,9 @@ describe "Test Monitoring API" do
if logstash_service.settings.feature_flag == "persistent_queues"
expect(result["pipeline"]["queue"]["type"]).to eq "persisted"
expect(result["pipeline"]["queue"]["data"]["free_space_in_bytes"]).not_to be_nil
expect(result["pipeline"]["queue"]["data"]["current_size_in_bytes"]).not_to be_nil
expect(result["pipeline"]["queue"]["data"]["storage_type"]).not_to be_nil
expect(result["pipeline"]["queue"]["data"]["path"]).not_to be_nil
expect(result["pipeline"]["queue"]["events"]["acked_count"]).not_to be_nil
expect(result["pipeline"]["queue"]["events"]["unread_count"]).not_to be_nil
expect(result["pipeline"]["queue"]["events"]["unacked_count"]).not_to be_nil
expect(result["pipeline"]["queue"]["events"]).not_to be_nil
expect(result["pipeline"]["queue"]["capacity"]["page_capacity_in_bytes"]).not_to be_nil
expect(result["pipeline"]["queue"]["capacity"]["max_queue_size_in_bytes"]).not_to be_nil
expect(result["pipeline"]["queue"]["capacity"]["max_unread_events"]).not_to be_nil