Class: Fluent::Plugin::HttpHealthCheckInput

Inherits:
HttpInput
  • Object
show all
Defined in:
lib/fluent/plugin/in_http_healthcheck.rb

Instance Method Summary collapse

Instance Method Details

#on_request(path_info, params) ⇒ Object



21
22
23
24
25
# File 'lib/fluent/plugin/in_http_healthcheck.rb', line 21

def on_request(path_info, params)
  begin
    return ["200 OK", {'Content-Type'=>'text/plain'}, "OK"]
  end
end