class Falcon::Command::Supervisor::Metrics
def call(stream)
def call(stream) stream.puts({please: "metrics"}.to_json, separator: "\0", chomp: true) response = JSON.parse(stream.read_until("\0"), symbolize_names: true) $stdout.puts response end
def call(stream) stream.puts({please: "metrics"}.to_json, separator: "\0", chomp: true) response = JSON.parse(stream.read_until("\0"), symbolize_names: true) $stdout.puts response end