Class: GroongaQueryLog::Command::Analyzer::JSONStreamReporter
- Inherits:
-
Reporter
- Object
- Reporter
- GroongaQueryLog::Command::Analyzer::JSONStreamReporter
show all
- Defined in:
- lib/groonga-query-log/command/analyzer/reporter/json-stream.rb
Instance Attribute Summary
Attributes inherited from Reporter
#output, #slow_operation_threshold, #slow_response_threshold
Instance Method Summary
collapse
Methods inherited from Reporter
#each, #initialize, #report, #report_statistics
Instance Method Details
#finish ⇒ Object
33
34
|
# File 'lib/groonga-query-log/command/analyzer/reporter/json-stream.rb', line 33
def finish
end
|
#report_statistic(statistic) ⇒ Object
23
24
25
26
27
|
# File 'lib/groonga-query-log/command/analyzer/reporter/json-stream.rb', line 23
def report_statistic(statistic)
write(format_statistic(statistic))
write("\n")
@index += 1
end
|
#report_summary ⇒ Object
36
37
38
|
# File 'lib/groonga-query-log/command/analyzer/reporter/json-stream.rb', line 36
def report_summary
end
|
#start ⇒ Object
29
30
31
|
# File 'lib/groonga-query-log/command/analyzer/reporter/json-stream.rb', line 29
def start
@index = 0
end
|