lib/fluent/plugin/statusz.rb
# Note: The plugin parameter is referenced in STATUSZ_TMPL.
The plugin parameter is referenced in STATUSZ_TMPL.
The plugin parameter is referenced in STATUSZ_TMPL .
def response(plugin)
    uptime = Time.now - SERVER_START
    uptime_str = format('%d hr %02d min %02d sec',
                        uptime / 3600,
                        (uptime / 60) % 60,
                        uptime % 60)
    ERB.new(STATUSZ_TMPL).result(binding)
  end
def response ( plugin ) uptime = Time . now - SERVER_START uptime_str = format ( '%d hr %02d min %02d sec' , uptime / 3600 , ( uptime / 60 ) % 60 , uptime % 60 ) ERB . new ( STATUSZ_TMPL ) . result ( binding ) end
Note: The plugin parameter is referenced in STATUSZ_TMPL.
Note : The plugin parameter is referenced in STATUSZ_TMPL .
plugin
<not_specific>