Class: Aho::MetricsAggregator
- Inherits:
-
Object
- Object
- Aho::MetricsAggregator
- Defined in:
- lib/aho/metrics_aggregator.rb
Instance Attribute Summary collapse
-
#metrics ⇒ Object
readonly
Returns the value of attribute metrics.
Instance Method Summary collapse
-
#initialize ⇒ MetricsAggregator
constructor
A new instance of MetricsAggregator.
Constructor Details
#initialize ⇒ MetricsAggregator
Returns a new instance of MetricsAggregator.
10 11 12 13 |
# File 'lib/aho/metrics_aggregator.rb', line 10 def initialize @metrics = active_metrics @metrics.merge!(ignore_metrics) if collect_ignore_metrics? end |
Instance Attribute Details
#metrics ⇒ Object (readonly)
Returns the value of attribute metrics.
8 9 10 |
# File 'lib/aho/metrics_aggregator.rb', line 8 def metrics @metrics end |