Module: Statusz
- Defined in:
- lib/fluent/plugin/statusz.rb
Overview
Module for collecting diagnostic information and formatting it as an HTML page to serve on the /statusz endpoint.
Class Method Summary collapse
Class Method Details
.response ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/fluent/plugin/statusz.rb', line 20 def response # TODO(davidbtucker): Add more status information here. [ '<html>', '<body>', '<h1>Status</h1>', "<b>Command-line flags:</b> #{CGI.escapeHTML(ARGV.join(' '))}", '</body>', '</html>' ].join("\n") + "\n" end |