Sha256: 1592e9e848f84bf5fb8de6397ca0c9630ccae582541784e9b5f69a26d25c7bb7
Contents?: true
Size: 411 Bytes
Versions: 10
Compression:
Stored size: 411 Bytes
Contents
# encoding: utf-8 require "app" module LogStash::Api class Stats < BaseApp helpers AppHelpers # return hot threads information get "/jvm" do command = factory.build(:memory_command) jvm_payload = { :timestamp => command.started_at, :uptime_in_millis => command.uptime, :mem => command.run } respond_with({:jvm => jvm_payload}) end end end
Version data entries
10 entries across 10 versions & 1 rubygems