Class: ProconBypassMan::Procon::PerformanceMeasurement::MeasurementCollection

Inherits:
Object
  • Object
show all
Defined in:
lib/procon_bypass_man/procon/performance_measurement/measurement_collection.rb

Overview

TODO SpanCollection にする

Instance Attribute Summary collapse

Instance Method Summary collapse

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.timestamp_key = timestamp_key
  self.spans = spans
end

Instance Attribute Details

#spansObject

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_keyObject

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
  @timestamp_key
end