Class: Groonga::QueryLog::Analyzer::JSONStreamReporter
- Inherits:
-
Reporter
- Object
- Reporter
- Groonga::QueryLog::Analyzer::JSONStreamReporter
show all
- Defined in:
- lib/groonga/query-log/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
#apply_options, #each, #initialize, #report, #report_statistics
Instance Method Details
#finish ⇒ Object
35
36
|
# File 'lib/groonga/query-log/analyzer/reporter/json-stream.rb', line 35
def finish
end
|
#report_statistic(statistic) ⇒ Object
25
26
27
28
29
|
# File 'lib/groonga/query-log/analyzer/reporter/json-stream.rb', line 25
def report_statistic(statistic)
write(format_statistic(statistic))
write("\n")
@index += 1
end
|
#report_summary ⇒ Object
38
39
40
|
# File 'lib/groonga/query-log/analyzer/reporter/json-stream.rb', line 38
def report_summary
end
|
#start ⇒ Object
31
32
33
|
# File 'lib/groonga/query-log/analyzer/reporter/json-stream.rb', line 31
def start
@index = 0
end
|