class Metrics
Implements the falcon supervisor metrics
command.
Definitions
def call(stream)
Send the metrics message to the supervisor and print the results.
Implementation
def call(stream)
stream.puts({please: 'metrics'}.to_json, separator: "\0")
response = JSON.parse(stream.gets("\0"), symbolize_names: true)
$stdout.puts response
end