class Fluent::Plugin::MonitorAgentInput::APIHandler

def config_json(req)

def config_json(req)
  obj = {
    'pid' => Process.pid,
    'ppid' => Process.ppid
  }.merge(@agent.fluentd_opts)
  opts = build_option(req)
  render_json(obj, pretty_json: opts[:pretty_json])
end