Removed /_node/stats/mem and insted nested them under /_node/stats/jvm along with the ‘thread’ stats

Fixes #5623
This commit is contained in:
Pere Urbon-Bayes 2016-07-12 13:00:49 +02:00
parent e35addbbb5
commit 97d679f933
2 changed files with 2 additions and 6 deletions

View file

@ -11,7 +11,8 @@ module LogStash
[:jvm, :threads], [:jvm, :threads],
:count, :count,
:peak_count :peak_count
) ),
:mem => memory
} }
end end

View file

@ -20,7 +20,6 @@ module LogStash
:events => events_payload, :events => events_payload,
:jvm => jvm_payload, :jvm => jvm_payload,
:process => process_payload, :process => process_payload,
:mem => mem_payload,
:pipeline => pipeline_payload :pipeline => pipeline_payload
} }
@ -47,10 +46,6 @@ module LogStash
respond_with :process => process_payload respond_with :process => process_payload
end end
get "/mem" do
respond_with :mem => mem_payload
end
get "/pipeline" do get "/pipeline" do
respond_with :pipeline => pipeline_payload respond_with :pipeline => pipeline_payload
end end