Class: EventTracer::AppsignalLogger
- Inherits:
-
MetricLogger
- Object
- Delegator
- BasicDecorator
- MetricLogger
- EventTracer::AppsignalLogger
- Defined in:
- lib/event_tracer/appsignal_logger.rb
Constant Summary collapse
- SUPPORTED_METRIC_TYPES =
{ counter: :increment_counter, distribution: :add_distribution_value, gauge: :set_gauge }.freeze
- DEFAULT_METRIC_TYPE =
:increment_counter
- DEFAULT_COUNTER =
1
Instance Attribute Summary
Attributes inherited from MetricLogger
Instance Method Summary collapse
-
#initialize(decoratee, allowed_tags: []) ⇒ AppsignalLogger
constructor
A new instance of AppsignalLogger.
Methods inherited from BasicDecorator
#__getobj__, #__setobj__, #fail_result, #success_result
Constructor Details
#initialize(decoratee, allowed_tags: []) ⇒ AppsignalLogger
Returns a new instance of AppsignalLogger.
23 24 25 26 |
# File 'lib/event_tracer/appsignal_logger.rb', line 23 def initialize(decoratee, allowed_tags: []) super(decoratee) @allowed_tags = .freeze end |