Class: Fluent::Plugin::MonitorAgentDetailInput::ConfigMonitorServlet

Inherits:
MonitorServlet
  • Object
show all
Defined in:
lib/fluent/plugin/in_monitor_agent_detail.rb

Instance Method Summary collapse

Methods inherited from MonitorServlet

#do_GET, #get_search_parameter, #initialize, #render_json, #render_json_error

Constructor Details

This class inherits a constructor from Fluent::Plugin::MonitorAgentDetailInput::MonitorServlet

Instance Method Details

#build_object(req, res) ⇒ Object



191
192
193
194
195
196
# File 'lib/fluent/plugin/in_monitor_agent_detail.rb', line 191

def build_object(req, res)
  {
    'pid' => Process.pid,
    'ppid' => Process.ppid
  }.merge(@agent.fluentd_opts)
end