Class: ProconBypassMan::Procon::PerformanceMeasurement::MeasurementCollection
- Inherits:
-
Object
- Object
- ProconBypassMan::Procon::PerformanceMeasurement::MeasurementCollection
- Defined in:
- lib/procon_bypass_man/procon/performance_measurement/measurement_collection.rb
Overview
TODO SpanCollection にする
Instance Attribute Summary collapse
-
#spans ⇒ Object
Returns the value of attribute spans.
-
#timestamp_key ⇒ Object
Returns the value of attribute timestamp_key.
Instance Method Summary collapse
-
#initialize(timestamp_key:, spans:) ⇒ MeasurementCollection
constructor
A new instance of MeasurementCollection.
Constructor Details
#initialize(timestamp_key:, spans:) ⇒ MeasurementCollection
Returns a new instance of MeasurementCollection.
5 6 7 8 |
# File 'lib/procon_bypass_man/procon/performance_measurement/measurement_collection.rb', line 5 def initialize(timestamp_key: , spans: ) self. = self.spans = spans end |
Instance Attribute Details
#spans ⇒ Object
Returns the value of attribute spans.
3 4 5 |
# File 'lib/procon_bypass_man/procon/performance_measurement/measurement_collection.rb', line 3 def spans @spans end |
#timestamp_key ⇒ Object
Returns the value of attribute timestamp_key.
3 4 5 |
# File 'lib/procon_bypass_man/procon/performance_measurement/measurement_collection.rb', line 3 def @timestamp_key end |