Class: Fluent::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



4
5
6
7
8
# File 'lib/fluent/plugin/in_http_healthcheck.rb', line 4

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