class Falcon::Command::Supervisor::Metrics
Implements the ‘falcon supervisor metrics` command.
def call(stream)
def call(stream) stream.puts({please: 'metrics'}.to_json, separator: "\0") response = JSON.parse(stream.gets("\0"), symbolize_names: true) $stdout.puts response end