module Fluent::ExceptionDetectorConfig
Configuration of the state machine that detects exceptions.
Constants
- ALL_RULES
- DART_RULES
- DEFAULT_FIELDS
- GO_RULES
- JAVA_RULES
- PHP_RULES
- PYTHON_RULES
- RUBY_RULES
- RULES_BY_LANG
Public Class Methods
rule(from_state_or_states, pattern, to_state)
click to toggle source
# File lib/fluent/plugin/exception_detector.rb, line 44 def self.rule(from_state_or_states, pattern, to_state) from_state_or_states = [from_state_or_states] unless from_state_or_states.is_a?(Array) Struct::Rule.new(from_state_or_states, pattern, to_state) end
supported()
click to toggle source
# File lib/fluent/plugin/exception_detector.rb, line 50 def self.supported RULES_BY_LANG.keys end